From: Ralph Boehme Date: Wed, 19 May 2021 12:42:14 +0000 (+0200) Subject: smbd: add flag NOTIFY_ACTION_DIRLEASE_BREAK for notify_fname() X-Git-Tag: tdb-1.4.13~709 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac05f09f22e851cd422aef41f30f8b6ea3c15318;p=thirdparty%2Fsamba.git smbd: add flag NOTIFY_ACTION_DIRLEASE_BREAK for notify_fname() Will be used to trigger Directory Lease breaks from notify_fname(). Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/include/smb.h b/source3/include/smb.h index 7f3482fe442..4cebe366346 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -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)