summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-07-28 10:59:04 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-07-28 10:59:04 +0200
commitb11fd885bf473fee86144d90c7df62f3371e9d23 (patch)
tree96669b29331242cd5ba79bcdc77f5e65afaa8b05 /drivers/block
parentebaad3d43f1629be3d5efa823ffae9ba6d807c68 (diff)
osdblk: fix compile problem due to missing blk_queue_stack_limits()
Commit 6dc986e736ca1e76a45d025a920f3a66855fc2aa apparently didn't check for in-kernel users, so it broke the compile. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/osdblk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/osdblk.c b/drivers/block/osdblk.c
index 13c1aee6aa3f..28f1f25f0f63 100644
--- a/drivers/block/osdblk.c
+++ b/drivers/block/osdblk.c
@@ -442,7 +442,7 @@ static int osdblk_init_disk(struct osdblk_device *osdev)
* sleep when allocating a lower-request and therefore cannot be
* bouncing.
*/
- blk_queue_stack_limits(q, osd_request_queue(osdev->osd));
+ blk_stack_limits(&q->limits, &osd_request_queue(osdev->osd)->limits, 0);
blk_queue_prep_rq(q, blk_queue_start_tag);
blk_queue_ordered(q, QUEUE_ORDERED_DRAIN_FLUSH, osdblk_prepare_flush);