From: Christof Schmitt Date: Fri, 3 Jan 2020 19:51:17 +0000 (-0700) Subject: vfs_streams_xattr: Rename argument of flock function X-Git-Tag: ldb-2.1.0~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b306a7361e9d8e2f50f87e8904fc622da799864e;p=thirdparty%2Fsamba.git vfs_streams_xattr: Rename argument of flock function MS-SMB2 and the smbd code refer to this field as share_access. Use the same name in the function argument. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_streams_xattr.c b/source3/modules/vfs_streams_xattr.c index fa54fe26435..85efe2bcc37 100644 --- a/source3/modules/vfs_streams_xattr.c +++ b/source3/modules/vfs_streams_xattr.c @@ -1585,7 +1585,7 @@ static bool streams_xattr_getlock(vfs_handle_struct *handle, static int streams_xattr_kernel_flock(vfs_handle_struct *handle, files_struct *fsp, - uint32_t share_mode, + uint32_t share_access, uint32_t access_mask) { struct stream_io *sio = @@ -1593,7 +1593,7 @@ static int streams_xattr_kernel_flock(vfs_handle_struct *handle, if (sio == NULL) { return SMB_VFS_NEXT_KERNEL_FLOCK(handle, fsp, - share_mode, access_mask); + share_access, access_mask); } return 0;