diff options
author | Jeremy Allison <jra@samba.org> | 2003-02-27 00:43:23 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-02-27 00:43:23 +0000 |
commit | f6f76ad5ed7b3eee7cbd3bca6f3ccd1194a0e98a (patch) | |
tree | 741b11e69c6a004d207d75e1a0bb6a173c39fe2c /source3/include | |
parent | 20d0bb23103b219d96aa0ae73136521022f48762 (diff) | |
download | samba-f6f76ad5ed7b3eee7cbd3bca6f3ccd1194a0e98a.tar.gz samba-f6f76ad5ed7b3eee7cbd3bca6f3ccd1194a0e98a.tar.bz2 samba-f6f76ad5ed7b3eee7cbd3bca6f3ccd1194a0e98a.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 22fc0d48ff2052b4274c65f85050c58b235bf4e4)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/messages.h | 1 | ||||
-rw-r--r-- | source3/include/smb.h | 2 |
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 71051e341e..a2b341d0fc 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; |