vfs_glusterfs: Rename argument of flock function
authorChristof Schmitt <cs@samba.org>
Fri, 3 Jan 2020 19:41:00 +0000 (12:41 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 8 Jan 2020 00:01:36 +0000 (00:01 +0000)
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 <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_glusterfs.c

index d7a1ec4d3347e8f37626e5c7fcf7bef8d87be6c8..e8bd64be9e6a90ea513d519f29977b2a70181814 100644 (file)
@@ -1604,7 +1604,7 @@ out:
 }
 
 static int vfs_gluster_kernel_flock(struct vfs_handle_struct *handle,
-                                   files_struct *fsp, uint32_t share_mode,
+                                   files_struct *fsp, uint32_t share_access,
                                    uint32_t access_mask)
 {
        errno = ENOSYS;