md: Replace calc_dev_size() by calc_num_sectors().
authorAndre Noll <maan@systemlinux.org>
Fri, 11 Jul 2008 12:02:23 +0000 (22:02 +1000)
committerNeil Brown <neilb@suse.de>
Fri, 11 Jul 2008 12:02:23 +0000 (22:02 +1000)
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>

No differences found