]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
vfs_gpfs: Rename kernel_flock to filesystem_sharemode
authorChristof Schmitt <cs@samba.org>
Mon, 20 Sep 2021 22:24:33 +0000 (15:24 -0700)
committerChristof Schmitt <cs@samba.org>
Tue, 21 Sep 2021 18:47:38 +0000 (18:47 +0000)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_gpfs.c

index 2d8ea3d0f53b37a7fa5c40094ba9b74fcef22865..f6f162b3b574bf372eede3fbf27ad64df354972d 100644 (file)
@@ -156,8 +156,10 @@ static int set_gpfs_sharemode(files_struct *fsp, uint32_t access_mask,
        return result;
 }
 
-static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, files_struct *fsp,
-                                uint32_t share_access, uint32_t access_mask)
+static int vfs_gpfs_filesystem_sharemode(vfs_handle_struct *handle,
+                                        files_struct *fsp,
+                                        uint32_t share_access,
+                                        uint32_t access_mask)
 {
 
        struct gpfs_config_data *config;
@@ -2580,7 +2582,7 @@ static struct vfs_fn_pointers vfs_gpfs_fns = {
        .disk_free_fn = vfs_gpfs_disk_free,
        .get_quota_fn = vfs_gpfs_get_quota,
        .fs_capabilities_fn = vfs_gpfs_capabilities,
-       .filesystem_sharemode_fn = vfs_gpfs_kernel_flock,
+       .filesystem_sharemode_fn = vfs_gpfs_filesystem_sharemode,
        .linux_setlease_fn = vfs_gpfs_setlease,
        .get_real_filename_fn = vfs_gpfs_get_real_filename,
        .get_dos_attributes_send_fn = vfs_not_implemented_get_dos_attributes_send,