Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: NeilBrown <neilb@suse.de>
- Loading branch information