ctdb-daemon: Allocate deferred calls off calling context
authorAmitay Isaacs <amitay@gmail.com>
Thu, 19 Oct 2017 03:58:18 +0000 (14:58 +1100)
committerMartin Schwenke <martins@samba.org>
Tue, 21 Nov 2017 04:03:16 +0000 (05:03 +0100)
commit848f2425984667c243ccac847b8f48a66ce10178
treeb8bb001cca7fad8b1a8ae90795cf284524beecf5
parent757a120fc4c659047bd6a1175b24f0673630ce2d
ctdb-daemon: Allocate deferred calls off calling context

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13152

This makes sure that if a client disconnects, all the deferred calls
from the client are correctly freed.

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