Skip to content
Commit 49ce6cea authored by NeilBrown's avatar NeilBrown
Browse files

md: don't reference gendisk in getgeo



Using ->array_sectors rather than get_capacity() is more
direct and is a step towards relaxing the tight connection
between mddev and gendisk.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 49077326
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