]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: add flag NOTIFY_ACTION_DIRLEASE_BREAK for notify_fname()
authorRalph Boehme <slow@samba.org>
Wed, 19 May 2021 12:42:14 +0000 (14:42 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 Nov 2024 14:39:30 +0000 (14:39 +0000)
Will be used to trigger Directory Lease breaks from notify_fname().

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/include/smb.h

index 7f3482fe442bc2bcb0f7485dd80970faf186cbfb..4cebe366346a31ae8994a27a3e90cf7917b398f6 100644 (file)
@@ -401,6 +401,7 @@ struct interface {
 #define NOTIFY_ACTION_ADDED_STREAM 6
 #define NOTIFY_ACTION_REMOVED_STREAM 7
 #define NOTIFY_ACTION_MODIFIED_STREAM 8
+#define NOTIFY_ACTION_DIRLEASE_BREAK 256 /* Flag ORed to the above actions */
 
 /* where to find the base of the SMB packet proper */
 #define smb_base(buf) (((const char *)(buf))+4)