mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 21:20:52 +07:00
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>
This commit is contained in:
parent
eba2ed9c96
commit
1f940bdfc0
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user