]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: checks: remove return statements in locked functions
authorWilly Tarreau <w@1wt.eu>
Sun, 5 Nov 2017 09:11:13 +0000 (10:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 5 Nov 2017 09:13:38 +0000 (10:13 +0100)
commit62ac84f84300231f68a0ea08ce30e7ce7dc6236d
tree0042f1dbeaf1e887d2b575bfafdd5cf61ebe8e7c
parent73247e0757eaf98cf1ae847f2675087b14efa088
CLEANUP: checks: remove return statements in locked functions

Given that all spinning loops we've had since 1.8-rc1 were caused by
unbalanced lock/unlock, let's get rid of all return statements in the
locked check functions and only exit via a a single unlock place.
src/checks.c