From: Stephen Rothwell Date: Mon, 1 Mar 2010 08:21:01 +0000 (+1100) Subject: block: fix for "Consolidate phys_segment and hw_segment limits" X-Git-Tag: v2.6.34-rc1~242^2~2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=91f63d0efa1b2ff3f8773aad61c2970f097232aa;p=~emulex%2Finfiniband.git block: fix for "Consolidate phys_segment and hw_segment limits" Signed-off-by: Stephen Rothwell Signed-off-by: Jens Axboe --- diff --git a/drivers/block/ps3vram.c b/drivers/block/ps3vram.c index 83ebb390b16..e4460822997 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);