From: Christof Schmitt Date: Mon, 13 Sep 2021 19:01:01 +0000 (-0700) Subject: smbd: Update comment explaining streams and file-system sharemodes X-Git-Tag: ldb-2.5.0~661 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa4766e43a5e302a4152f370315ce2f73293cac;p=thirdparty%2Fsamba.git smbd: Update comment explaining streams and file-system sharemodes The function kernel_flock will be deleted, drop the reference to it. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 968dd8ecb00..9c146177897 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -4054,10 +4054,10 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, * Beware: streams implementing VFS modules may * implement streams in a way that fsp will have the * basefile open in the fsp fd, so lacking a distinct - * fd for the stream kernel_flock will apply on the - * basefile which is wrong. The actual check is - * deferred to the VFS module implementing the - * kernel_flock call. + * fd for the stream the file-system sharemode will + * apply on the basefile which is wrong. The actual + * check is deferred to the VFS module implementing + * the file-system sharemode call. */ ret_flock = SMB_VFS_KERNEL_FLOCK(fsp, share_access, access_mask); if(ret_flock == -1 ){