summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-03-01 11:21:01 +0300
committerJens Axboe <jens.axboe@oracle.com>2010-03-01 12:43:39 +0300
commit91f63d0efa1b2ff3f8773aad61c2970f097232aa (patch)
tree147e47e1edb50dc66f785e0e40106cab907ff4f8 /drivers/block
parentabc3c744d0d7f4ad710a948ae73852ffea5fbc3b (diff)
downloadlinux-91f63d0efa1b2ff3f8773aad61c2970f097232aa.tar.xz
block: fix for "Consolidate phys_segment and hw_segment limits"
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/ps3vram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c
index 83ebb390b164..e44608229972 100644
--- a/drivers/block/ps3vram.c
+++ b/drivers/block/ps3vram.c
@@ -751,7 +751,7 @@ static int __devinit ps3vram_probe(struct ps3_system_bus_device *dev)
priv->queue = queue;
queue->queuedata = dev;
blk_queue_make_request(queue, ps3vram_make_request);
- blk_queue_max_segments(queue, BLK_MAX_HW_SEGMENTS);
+ blk_queue_max_segments(queue, BLK_MAX_SEGMENTS);
blk_queue_max_segment_size(queue, BLK_MAX_SEGMENT_SIZE);
blk_queue_max_hw_sectors(queue, BLK_SAFE_MAX_SECTORS);