block: remove q->prepare_flush_fn completely
This removes q->prepare_flush_fn completely (changes the blk_queue_ordered API). Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:

committed by
Jens Axboe

parent
afc2306810
commit
00fff26539
@@ -2135,7 +2135,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
|
||||
else
|
||||
ordered = QUEUE_ORDERED_DRAIN;
|
||||
|
||||
blk_queue_ordered(sdkp->disk->queue, ordered, NULL);
|
||||
blk_queue_ordered(sdkp->disk->queue, ordered);
|
||||
|
||||
set_capacity(disk, sdkp->capacity);
|
||||
kfree(buffer);
|
||||
|
Reference in New Issue
Block a user