locking: move all auto_mark logic into process_callbacks()
authorStefan Metzmacher <metze@samba.org>
Tue, 2 Jun 2015 10:43:17 +0000 (12:43 +0200)
committerAmitay Isaacs <amitay@gmail.com>
Mon, 15 Jun 2015 02:13:01 +0000 (12:13 +1000)
commit14427b6ff35af8fd20471239aa146e3a1d28e89d
tree39a54092906addac96e2c4977f3efbfae9965797
parentfdb899d7c91606dee41d3284ad66bb9bca2573f9
locking: move all auto_mark logic into process_callbacks()

The caller should not dereference lock_ctx after invoking
process_callbacks(), it might be destroyed already.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Jun 12 15:28:57 CEST 2015 on sn-devel-104

(Imported from commit b3a18d66c00dba73a3f56a6f95781b4d34db1fe2)
server/ctdb_lock.c