aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-03-01 03:21:01 -0500
committerJens Axboe <jens.axboe@oracle.com>2010-03-01 04:43:39 -0500
commit91f63d0efa1b2ff3f8773aad61c2970f097232aa (patch)
tree147e47e1edb50dc66f785e0e40106cab907ff4f8 /drivers/block
parentabc3c744d0d7f4ad710a948ae73852ffea5fbc3b (diff)
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)
751 priv->queue = queue; 751 priv->queue = queue;
752 queue->queuedata = dev; 752 queue->queuedata = dev;
753 blk_queue_make_request(queue, ps3vram_make_request); 753 blk_queue_make_request(queue, ps3vram_make_request);
754 blk_queue_max_segments(queue, BLK_MAX_HW_SEGMENTS); 754 blk_queue_max_segments(queue, BLK_MAX_SEGMENTS);
755 blk_queue_max_segment_size(queue, BLK_MAX_SEGMENT_SIZE); 755 blk_queue_max_segment_size(queue, BLK_MAX_SEGMENT_SIZE);
756 blk_queue_max_hw_sectors(queue, BLK_SAFE_MAX_SECTORS); 756 blk_queue_max_hw_sectors(queue, BLK_SAFE_MAX_SECTORS);
757 757