ctdb-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@samba.org>
Fri, 12 Jun 2015 13:28:57 +0000 (15:28 +0200)
commitb3a18d66c00dba73a3f56a6f95781b4d34db1fe2
tree886003f4e104b0e846b1eb426cf4c672f630f7d3
parenta2690bc3f4e28a2ed50ccb47cb404fc8570fde6d
ctdb-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
ctdb/server/ctdb_lock.c