]> git.ipfire.org Git - thirdparty/mdadm.git/commit - util.c
Fix open_container
authorNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 06:15:55 +0000 (17:15 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 11 Oct 2012 06:15:55 +0000 (17:15 +1100)
commita994592d75e64b50201121f6357ea73a0b7d4e6e
tree1f3ba6bdaca9d256f1dd118d9ace264940ff4662
parent869523878e83586f4e55b00f705378d6e7b11e68
Fix open_container

open_container should open a container which contains the device,
but sometimes it would open another volume which contains the
device.  Be more careful in 'holder' selection.

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