提交 1f940bdf 编写于 作者: J Jens Axboe

block: fixup plugging stubs for !CONFIG_BLOCK

They used an older prototype, fix it up.
Reported-by: NRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
上级 eba2ed9c
......@@ -1297,15 +1297,18 @@ static inline long nr_blockdev_pages(void)
return 0;
}
static inline void blk_start_plug(struct list_head *list)
struct blk_plug {
};
static inline void blk_start_plug(struct blk_plug *plug)
{
}
static inline void blk_finish_plug(struct list_head *list)
static inline void blk_finish_plug(struct blk_plug *plug)
{
}
static inline void blk_flush_plug(struct task_struct *tsk)
static inline void blk_flush_plug(struct task_struct *task)
{
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册