ctdb-locking: Talloc lock request from client specified context
authorAmitay Isaacs <amitay@gmail.com>
Mon, 11 Aug 2014 07:08:20 +0000 (17:08 +1000)
committerMartin Schwenke <martins@samba.org>
Fri, 5 Sep 2014 05:05:10 +0000 (07:05 +0200)
commit374cbc7b0ff68e04ee4e395935509c7df817b3c0
tree5b294188ca2e83665bb3a1aeb6d8dd3bb67a9c0f
parentd9e4622a446c9ed60771c508638fb89055320f03
ctdb-locking: Talloc lock request from client specified context

This makes sure that when the client context is destroyed, the lock
request goes away.  If the lock requests is already scheduled, then the
lock child process will be terminated.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/include/ctdb_private.h
ctdb/server/ctdb_freeze.c
ctdb/server/ctdb_lock.c
ctdb/server/ctdb_ltdb_server.c