diff options
author | Andre Noll <[email protected]> | 2008-07-11 22:02:23 +1000 |
---|---|---|
committer | Neil Brown <[email protected]> | 2008-07-11 22:02:23 +1000 |
commit | b73df2d3d629aefa187a0a3574fd81455e026bc8 (patch) | |
tree | 87e2a32c602c99cf69c298d3ed6e145a6202b481 /net/unix/sysctl_net_unix.c | |
parent | e7debaa4951b37d6c9ace4c6b984cd4805c5bfbb (diff) |
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 <[email protected]>
Signed-off-by: Neil Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions