From: Christof Schmitt Date: Fri, 3 Jan 2020 19:08:38 +0000 (-0700) Subject: vfs_catia: Rename argument for flock function X-Git-Tag: ldb-2.1.0~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=537d226ed93fdbccf236b7f79bb32802254a2356;p=thirdparty%2Fsamba.git vfs_catia: Rename argument for 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_catia.c b/source3/modules/vfs_catia.c index 3880f16b10c..23246c72be2 100644 --- a/source3/modules/vfs_catia.c +++ b/source3/modules/vfs_catia.c @@ -2072,7 +2072,7 @@ static bool catia_lock(vfs_handle_struct *handle, static int catia_kernel_flock(struct vfs_handle_struct *handle, struct files_struct *fsp, - uint32_t share_mode, + uint32_t share_access, uint32_t access_mask) { struct catia_cache *cc = NULL; @@ -2083,7 +2083,7 @@ static int catia_kernel_flock(struct vfs_handle_struct *handle, return -1; } - ret = SMB_VFS_NEXT_KERNEL_FLOCK(handle, fsp, share_mode, access_mask); + ret = SMB_VFS_NEXT_KERNEL_FLOCK(handle, fsp, share_access, access_mask); CATIA_FETCH_FSP_POST_NEXT(&cc, fsp);