From: Christof Schmitt Date: Mon, 20 Sep 2021 22:24:33 +0000 (-0700) Subject: vfs_gpfs: Rename kernel_flock to filesystem_sharemode X-Git-Tag: ldb-2.5.0~609 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b63ee5c7391ce683eed46e68a1e2dd47c2b14fd7;p=thirdparty%2Fsamba.git vfs_gpfs: Rename kernel_flock to filesystem_sharemode Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 2d8ea3d0f53..f6f162b3b57 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -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,