]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdmon.c
mdmon: Check both RUN directories to find running mdmon
authorNeilBrown <neilb@suse.de>
Sun, 28 Feb 2010 14:43:40 +0000 (15:43 +0100)
committerNeilBrown <neilb@suse.de>
Wed, 3 Mar 2010 01:07:18 +0000 (12:07 +1100)
commit32f217017fd5343ab3c0c564b689b90d0f093bd5
tree05a1fe92bcf6b7d1d55218d0120f414ee97f78d4
parented8fa52f31521b8314859f290c464f77359933a0
mdmon: Check both RUN directories to find running mdmon

If mdmon is run without "--takeover", it should still
check both *_RUN directories for a valid 'pid' file
to guard against having two mdmons running at the same time.

Suggested-by: Luca Berra <bluca@comedia.it>
Signed-off-by: NeilBrown <neilb@suse.de>
mdmon.c