diff options
author | Amitay Isaacs <amitay@gmail.com> | 2014-05-30 13:57:44 +1000 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2014-08-04 17:59:52 +0200 |
commit | b93d9c062229252a78a4497fba402ec968be9713 (patch) | |
tree | 8cf232c1615870cf2ae48cf5d316f8a109f805c3 /ctdb | |
parent | 8aa6c039ae8f2bfd99515999e1ce647f0e4028d7 (diff) | |
download | samba-b93d9c062229252a78a4497fba402ec968be9713.tar.gz |
ctdb-locking: Remove unused structure members
block_child was used to keep track of a process which was created to debug
why a lock process has blocked. That logic was replaced to execute an
external debug script.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/server/ctdb_lock.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ctdb/server/ctdb_lock.c b/ctdb/server/ctdb_lock.c index 5579fb9bb04..d6beed86b51 100644 --- a/ctdb/server/ctdb_lock.c +++ b/ctdb/server/ctdb_lock.c @@ -76,8 +76,6 @@ struct lock_context { int fd[2]; struct tevent_fd *tfd; struct tevent_timer *ttimer; - pid_t block_child; - int block_fd[2]; struct timeval start_time; uint32_t key_hash; }; @@ -941,7 +939,6 @@ static struct lock_request *ctdb_lock_internal(struct ctdb_context *ctdb, lock_ctx->auto_mark = auto_mark; lock_ctx->child = -1; - lock_ctx->block_child = -1; DLIST_ADD_END(ctdb->lock_pending, lock_ctx, NULL); ctdb->lock_num_pending++; |