git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7debaa
)
md: Make calc_dev_sboffset() return a sector count.
author
Andre Noll
<maan@systemlinux.org>
Fri, 11 Jul 2008 12:02:23 +0000
(22:02 +1000)
committer
Neil Brown
<neilb@suse.de>
Fri, 11 Jul 2008 12:02:23 +0000
(22:02 +1000)
As BLOCK_SIZE_BITS is 10 and
MD_NEW_SIZE_SECTORS(2 * x) = 2 * NEW_SIZE_BLOCKS(x),
the return value of calc_dev_sboffset() doubles. Fix up all three
callers accordingly.
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
No differences found