md: don't reference gendisk in getgeo
authorNeilBrown <neilb@suse.de>
Sun, 28 Mar 2010 23:51:42 +0000 (10:51 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:52 +0000 (15:27 +1000)
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>

No differences found