aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJens Axboe <jaxboe@fusionio.com>2011-03-11 14:17:08 -0500
committerJens Axboe <jaxboe@fusionio.com>2011-03-11 14:17:08 -0500
commit1f940bdfc0d03265d178d9dfd840d854819f797d (patch)
treeb45ef8482ef17ccaee2e754e872fb4047efb3448 /include
parenteba2ed9c9636d9e7ed203a2498ed230b48341709 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/blkdev.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 91fa428fa2c1..16a902f099ac 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1297,15 +1297,18 @@ static inline long nr_blockdev_pages(void)
1297 return 0; 1297 return 0;
1298} 1298}
1299 1299
1300static inline void blk_start_plug(struct list_head *list) 1300struct blk_plug {
1301};
1302
1303static inline void blk_start_plug(struct blk_plug *plug)
1301{ 1304{
1302} 1305}
1303 1306
1304static inline void blk_finish_plug(struct list_head *list) 1307static inline void blk_finish_plug(struct blk_plug *plug)
1305{ 1308{
1306} 1309}
1307 1310
1308static inline void blk_flush_plug(struct task_struct *tsk) 1311static inline void blk_flush_plug(struct task_struct *task)
1309{ 1312{
1310} 1313}
1311 1314