git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
b71b7dc
)
Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block
author
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 5 Sep 2009 21:56:13 +0000
(14:56 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 5 Sep 2009 21:56:13 +0000
(14:56 -0700)
* 'for-linus' of git://git.kernel.dk/linux-2.6-block:
block: Allow changing max_sectors_kb above the default 512
block/blk-sysfs.c
patch
|
blob
|
history
diff --git
a/block/blk-sysfs.c
b/block/blk-sysfs.c
index
418d636
..
d3aa2aa
100644
(file)
--- a/
block/blk-sysfs.c
+++ b/
block/blk-sysfs.c
@@
-133,7
+133,7
@@
queue_max_sectors_store(struct request_queue *q, const char *page, size_t count)
return -EINVAL;
spin_lock_irq(q->queue_lock);
-
blk_queue_max_sectors(q, max_sectors_kb << 1)
;
+
q->limits.max_sectors = max_sectors_kb << 1
;
spin_unlock_irq(q->queue_lock);
return ret;