]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage_runstop: call flush_mdmon if O_EXCL fails on stopping mdmon array.
authorNeilBrown <neilb@suse.de>
Mon, 22 Apr 2013 07:05:33 +0000 (17:05 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 22 Apr 2013 07:05:33 +0000 (17:05 +1000)
commit2fdf559d74a48806900b63f1b4504a18dec048a9
tree77816a7444808c6ce12041d5e6bf36edfd80e695
parent79b68f1b48b0967da999945e310aef628c9bca4c
Manage_runstop: call flush_mdmon if O_EXCL fails on stopping mdmon array.

When stopping an mdmon array, at reshape might be being aborted
which inhibets O_EXCL.  So if that is possible, call flush_mdmon
to make sure mdmon isn't still busy.

Reported-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Manage.c