projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abc3c74
)
block: fix for "Consolidate phys_segment and hw_segment limits"
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Mon, 1 Mar 2010 08:21:01 +0000
(19:21 +1100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 1 Mar 2010 09:43:39 +0000
(10:43 +0100)
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/ps3vram.c
patch
|
blob
|
history
diff --git
a/drivers/block/ps3vram.c
b/drivers/block/ps3vram.c
index
83ebb39
..
e446082
100644
(file)
--- 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);