Assemble/Incremental: don't hold O_EXCL on mddev after assembly.
authorNeilBrown <neilb@suse.de>
Wed, 4 Dec 2013 23:35:16 +0000 (10:35 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 4 Dec 2013 23:35:16 +0000 (10:35 +1100)
commit8832342d3aad09d3c86af6dc9b137d6fd83af1ae
tree7a5c843a1a1f3de1d546abea41cd9cc3d4074391
parent5dd29dafa26f1745ef055de1a035317d75c0e4ed
Assemble/Incremental: don't hold O_EXCL on mddev after assembly.

As soon as the array is assembled, udev or systemd might run
fsck and mount it.  So we need to drop O_EXCL promptly.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c
Incremental.c
mdadm.h
util.c