]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: pass lease, if any, to notify_fname()
authorRalph Boehme <slow@samba.org>
Mon, 4 Nov 2024 17:48:14 +0000 (18:48 +0100)
committerRalph Boehme <slow@samba.org>
Tue, 5 Nov 2024 14:39:30 +0000 (14:39 +0000)
commitc1ac9e6532b8ea5fca07287cd4ee614617b3df4e
tree89efb8b2bb3327d2b87c1cdc9f76112ae3df6df5
parent8368236aff11ebe834ea202ac0c8a8a048ba4c1a
smbd: pass lease, if any, to notify_fname()

notify_fname() for NOTIFY_ACTION_DIRLEASE_BREAK will soon need the lease of the
current open and to implement "MS-FSA 2.1.4.12 Algorithm to Check for an Oplock
Break" with flags=PARENT_OBJECT.

No change in behaviour for now, all callers pass lease=NULL;

Also change path arg to struct smb_filename.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/modules/vfs_gpfs.c
source3/modules/vfs_tsmsm.c
source3/smbd/close.c
source3/smbd/dosmode.c
source3/smbd/notify.c
source3/smbd/open.c
source3/smbd/proto.h
source3/smbd/smb1_trans2.c
source3/smbd/smb2_reply.c
source3/smbd/smb2_trans2.c
source3/smbd/vfs.c