]> 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:17 +0000 (16:32 +1100)
commitecdf2d790126fb2b36897451638425208a0ff9eb
tree2791b13d3747a2cd372b7c9bdd15f30122ca47d8
parenteb48676077b7108cde236dbcc16f9a02ea143bbb
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