]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Query: don't be confused by partition tables.
authorNeilBrown <neilb@suse.de>
Thu, 25 Oct 2012 05:32:00 +0000 (16:32 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 25 Oct 2012 05:32:00 +0000 (16:32 +1100)
commit61a30986e7ce905360db5cfe4e513739d48479d5
tree7708690d9438b55e278d50aa9d89eecfdf517b11
parentf1661bd71bec6a8ae1919dc32a227c6fb37843f2
Query: don't be confused by partition tables.

Now that we recognise partition tables as a sort of metadata
we need to be careful in --query not to say that a device
with a partition table looks like a device in an array.

Testing ->compare_super for NULL is an easy way to do that.

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