]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.c
Monitor: --oneshot must imply --no-sharing
authorNeilBrown <neilb@suse.de>
Mon, 19 Sep 2011 01:01:19 +0000 (11:01 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 19 Sep 2011 01:01:19 +0000 (11:01 +1000)
commit3f555346fb26b7ee7447b004ecb2c2d57f243867
tree738d3084795c01accaa61436f60ddfa008dfabc1
parent20a4675688e0384a1b4eac61b05f60fbf7747df9
Monitor: --oneshot must imply --no-sharing

Moving spares is not the purpose of '--oneshot' and without
currently --oneshot doesn't work as the check against multiple
spare-sharers prevents it.

So make --oneshot imply --no-sharing.  This is sensible and allows
--oneshot to work again.

Reported-by: Jamie Heilman <jamie@audible.transient.net>
Resolves-Debian-Bug: 641886
Signed-off-by: NeilBrown <neilb@suse.de>
mdadm.c