aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkfront.c
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2010-07-03 04:45:40 -0400
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 12:24:15 -0400
commit00fff26539bfe3fad21c164fc4002d9ede056fb0 (patch)
tree4909c8eed03133b1d46f689e465ed1f579b8e282 /drivers/block/xen-blkfront.c
parentafc23068103ccfbf1917eb2a007bc15ab5418cc9 (diff)
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>
Diffstat (limited to 'drivers/block/xen-blkfront.c')
-rw-r--r--drivers/block/xen-blkfront.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c
index 495533e66542..76af65b654e3 100644
--- a/drivers/block/xen-blkfront.c
+++ b/drivers/block/xen-blkfront.c
@@ -373,8 +373,7 @@ static int xlvbd_barrier(struct blkfront_info *info)
373 int err; 373 int err;
374 374
375 err = blk_queue_ordered(info->rq, 375 err = blk_queue_ordered(info->rq,
376 info->feature_barrier ? QUEUE_ORDERED_DRAIN : QUEUE_ORDERED_NONE, 376 info->feature_barrier ? QUEUE_ORDERED_DRAIN : QUEUE_ORDERED_NONE);
377 NULL);
378 377
379 if (err) 378 if (err)
380 return err; 379 return err;