diff options
author | Andre Noll <maan@systemlinux.org> | 2008-07-11 22:02:23 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-11 22:02:23 +1000 |
commit | e7debaa4951b37d6c9ace4c6b984cd4805c5bfbb (patch) | |
tree | 9d61e2341af2161c0298c1396e6a85a1d4437eef /drivers/md/dm.c | |
parent | d71f9f88d74166dcdef743a057f9222d64d2d509 (diff) | |
download | linux-stable-e7debaa4951b37d6c9ace4c6b984cd4805c5bfbb.tar.gz linux-stable-e7debaa4951b37d6c9ace4c6b984cd4805c5bfbb.tar.bz2 linux-stable-e7debaa4951b37d6c9ace4c6b984cd4805c5bfbb.zip |
md: Replace calc_dev_size() by calc_num_sectors().
Number of sectors is the preferred unit for sizes of raid devices,
so change calc_dev_size() so that it returns this unit instead of
the number of 1K blocks.
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions