ctdb-mutex: Exit immediately if the lock isn't taken
commit2f768a090e0a1f34660227e1aedc0ed03ea98534
authorMartin Schwenke <martin@meltin.net>
Fri, 5 Jul 2019 05:39:23 +0000 (5 15:39 +1000)
committerMartin Schwenke <martins@samba.org>
Fri, 26 Jul 2019 03:34:17 +0000 (26 03:34 +0000)
treef418ba1a07e46ce186fa280c348f62fdcd725fcd
parentd716be19ea14f15984eab8ce3388eb90bbb49d0a
ctdb-mutex: Exit immediately if the lock isn't taken

There is no need to wait until the parent kills the helper.  The
parent will get the initial response, indicating contention or
similar, and will then get a separate event indicating that the pipe
is gone.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_mutex_fcntl_helper.c