]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Incremental.c
Incremental: don't be distracted by partition table when calling try_spare.
authorNeilBrown <neilb@suse.de>
Wed, 5 Nov 2014 05:21:42 +0000 (16:21 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 5 Nov 2014 05:21:42 +0000 (16:21 +1100)
commit6c90491f44024af25c9a9a322b6a4fb21e695540
treec58905442aef7d0ea9fd4546e4d84eea6d08a52b
parent8057db46a15daba1c954352fe19cfa7c9c6a6805
Incremental: don't be distracted by partition table when calling try_spare.

Currently a partition table on a device makes "mdadm -I" think
the array has a particular metadata type and so will only
add it to an array of that (partition table) type .. which doesn't
make any sense.

So tell guess_super to only look for 'array' metadata.

Reported-by: Caspar Smit <c.smit@truebit.nl>
Signed-off-by: NeilBrown <neilb@suse.de>
Incremental.c