summaryrefslogtreecommitdiff
path: root/source3/include/locking.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-06-20 20:58:42 +0200
committerJeremy Allison <jra@samba.org>2019-06-20 23:39:34 +0000
commitd4ace83baaa47fe36dd4b0ab9472933ef09b4eb6 (patch)
treeca61b23fcad18ff08137e6f54323e5b55839c401 /source3/include/locking.h
parent4bbe291efcb389715651b2eb94330b6c36f83030 (diff)
downloadsamba-d4ace83baaa47fe36dd4b0ab9472933ef09b4eb6.tar.gz
smbd: Remove struct blocking_lock_record
Forgot that one in the last patches Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jun 20 23:39:34 UTC 2019 on sn-devel-184
Diffstat (limited to 'source3/include/locking.h')
-rw-r--r--source3/include/locking.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/source3/include/locking.h b/source3/include/locking.h
index 4cb75202d1a..3e7560bef9e 100644
--- a/source3/include/locking.h
+++ b/source3/include/locking.h
@@ -61,26 +61,6 @@ struct lock_struct {
enum brl_flavour lock_flav;
};
-/****************************************************************************
- This is the structure to queue to implement blocking locks.
-*****************************************************************************/
-
-struct blocking_lock_record {
- struct blocking_lock_record *next;
- struct blocking_lock_record *prev;
- struct files_struct *fsp;
- struct timeval expire_time;
- int lock_num;
- uint64_t offset;
- uint64_t count;
- uint64_t smblctx;
- uint64_t blocking_smblctx; /* Context that blocks us. */
- enum brl_flavour lock_flav;
- enum brl_type lock_type;
- struct smb_request *req;
- void *blr_private; /* Implementation specific. */
-};
-
struct smbd_lock_element {
uint64_t smblctx;
enum brl_type brltype;