Skip to content

Commit

Permalink
block: fixup plugging stubs for !CONFIG_BLOCK
Browse files Browse the repository at this point in the history
They used an older prototype, fix it up.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
  • Loading branch information
Jens Axboe committed Mar 11, 2011
1 parent eba2ed9 commit 1f940bd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit 1f940bd

Please sign in to comment.