summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorAndre Noll <maan@systemlinux.org>2008-07-11 22:02:23 +1000
committerNeil Brown <neilb@suse.de>2008-07-11 22:02:23 +1000
commite7debaa4951b37d6c9ace4c6b984cd4805c5bfbb (patch)
tree9d61e2341af2161c0298c1396e6a85a1d4437eef /drivers/md/dm.c
parentd71f9f88d74166dcdef743a057f9222d64d2d509 (diff)
downloadlinux-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