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)
commite7debaa4951b37d6c9ace4c6b984cd4805c5bfbb
tree9d61e2341af2161c0298c1396e6a85a1d4437eef
parentd71f9f88d74166dcdef743a057f9222d64d2d509
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>
drivers/md/md.c