summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-27 01:04:34 +0000
committerJeremy Allison <jra@samba.org>2003-02-27 01:04:34 +0000
commitfb3e4b87973e9ad0c818e8d9dd60329c47f22afe (patch)
tree98365addb079aa17a6aa8d05a61affcfe54f0dac /source3/include
parent1502667e923620cddd0137e94dc8d892ce2e95a8 (diff)
downloadsamba-fb3e4b87973e9ad0c818e8d9dd60329c47f22afe.tar.gz
samba-fb3e4b87973e9ad0c818e8d9dd60329c47f22afe.tar.bz2
samba-fb3e4b87973e9ad0c818e8d9dd60329c47f22afe.zip
Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb (does not interfere with existing locks). Jeremy. (This used to be commit 766928bbba1e597c9c2b12458dd8d37e6080593e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/messages.h1
-rw-r--r--source3/include/smb.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/messages.h b/source3/include/messages.h
index 2b8ca8bbe9..ce167a772d 100644
--- a/source3/include/messages.h
+++ b/source3/include/messages.h
@@ -62,6 +62,7 @@
#define MSG_SMB_FORCE_TDIS 3002
#define MSG_SMB_SAM_SYNC 3003
#define MSG_SMB_SAM_REPL 3004
+#define MSG_SMB_UNLOCK 3005
/* Flags to classify messages - used in message_send_all() */
/* Sender will filter by flag. */
diff --git a/source3/include/smb.h b/source3/include/smb.h
index f96a19954a..e96d664bd3 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -772,7 +772,7 @@ typedef enum
} parm_class;
/* passed to br lock code */
-enum brl_type {READ_LOCK, WRITE_LOCK};
+enum brl_type {READ_LOCK, WRITE_LOCK, PENDING_LOCK};
struct enum_list {
int value;