Skip to content
Commit e7debaa4 authored by Andre Noll's avatar Andre Noll Committed by Neil Brown
Browse files

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: default avatarAndre Noll <maan@systemlinux.org>
Signed-off-by: default avatarNeil Brown <neilb@suse.de>
parent d71f9f88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment