commit | e7debaa4951b37d6c9ace4c6b984cd4805c5bfbb | [log] [tgz] |
---|---|---|
author | Andre Noll <maan@systemlinux.org> | Fri Jul 11 22:02:23 2008 +1000 |
committer | Neil Brown <neilb@suse.de> | Fri Jul 11 22:02:23 2008 +1000 |
tree | 9d61e2341af2161c0298c1396e6a85a1d4437eef | |
parent | d71f9f88d74166dcdef743a057f9222d64d2d509 [diff] |
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>