]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Detail: print correct size for large external-metadata arrays.
authorNeilBrown <neilb@suse.de>
Tue, 5 Feb 2013 04:32:49 +0000 (15:32 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 5 Feb 2013 05:00:50 +0000 (16:00 +1100)
commitec1b28fdc0b00b14a6550621951e58f159cb105e
treed792dbe920d4e274fba02431f26e8080db2d70d6
parent030419821fb77f9955f2017b4a6d3d8139d6db25
Detail: print correct size for large external-metadata arrays.

If externally menaged metadata is in use, array.major_version will
be zero, so the test here to consider using get_component_size()
is wrong.  So if sra is present, use the major_version from there.

Signed-off-by: NeilBrown <neilb@suse.de>
Detail.c