]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdmon.c
mdmon: discard test_pidfile()
authorNeilBrown <neilb@suse.de>
Thu, 4 Feb 2010 03:49:32 +0000 (14:49 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 4 Feb 2010 05:37:21 +0000 (16:37 +1100)
commit24cfdbc5c0b6a1ccae28ffb10a707160525f18c6
treef764dd31286363435dbe75382f439e7dcffe531b
parent688a1e5b07dc46ae10aeafbda61c1700ad09551b
mdmon: discard test_pidfile()

devname2mdmon() can be used just as easily and doing so saves us from
some duplicate code.
Also tidy up some related logic.

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