Skip to content

Commit 1f940bd

Browse files
author
Jens Axboe
committed
block: fixup plugging stubs for !CONFIG_BLOCK
They used an older prototype, fix it up. Reported-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
1 parent eba2ed9 commit 1f940bd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎include/linux/blkdev.h‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,15 +1297,18 @@ static inline long nr_blockdev_pages(void)
12971297
return 0;
12981298
}
12991299

1300-
static inline void blk_start_plug(struct list_head *list)
1300+
struct blk_plug {
1301+
};
1302+
1303+
static inline void blk_start_plug(struct blk_plug *plug)
13011304
{
13021305
}
13031306

1304-
static inline void blk_finish_plug(struct list_head *list)
1307+
static inline void blk_finish_plug(struct blk_plug *plug)
13051308
{
13061309
}
13071310

1308-
static inline void blk_flush_plug(struct task_struct *tsk)
1311+
static inline void blk_flush_plug(struct task_struct *task)
13091312
{
13101313
}
13111314

0 commit comments

Comments
 (0)