]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdmon: avoid using victim_sock when it is -1.
authorNeilBrown <neilb@suse.de>
Mon, 7 Nov 2011 00:44:21 +0000 (11:44 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 7 Nov 2011 00:44:21 +0000 (11:44 +1100)
commit88e5516ea914f0e9d433a50dc0b2867085250308
tree172c26daa1883cf349b0b80ba68d79b1891575f4
parent84a230d993d6a953876f3b83ae79ed519ebf4d07
mdmon: avoid using victim_sock when it is -1.

It possible that we try to use victim_sock even when we couldn't open
it.  This is never actually harmful but it looks wrong and it is best
to fix it.

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