aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid/md_k.h
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-07-11 22:02:23 +1000
committerNeil Brown <neilb@suse.de>2008-07-11 22:02:23 +1000
commitb73df2d3d629aefa187a0a3574fd81455e026bc8 (patch)
tree87e2a32c602c99cf69c298d3ed6e145a6202b481 /include/linux/raid/md_k.h
parentmd: Replace calc_dev_size() by calc_num_sectors(). (diff)
downloadlinux-dev-b73df2d3d629aefa187a0a3574fd81455e026bc8.tar.xz
linux-dev-b73df2d3d629aefa187a0a3574fd81455e026bc8.zip
md: Make calc_dev_sboffset() return a sector count.
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>
Diffstat (limited to 'include/linux/raid/md_k.h')
0 files changed, 0 insertions, 0 deletions