From: Christof Schmitt Date: Mon, 13 Sep 2021 20:00:03 +0000 (-0700) Subject: vfs_gpfs: Remove call to kernel_flock X-Git-Tag: ldb-2.5.0~659 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5488a242fbd6d7123a9cb3297c0cf71acbb9d523;p=thirdparty%2Fsamba.git vfs_gpfs: Remove call to kernel_flock The function kernel_flock will be deleted. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c index 4de78bf4acd..0225cdc6e0f 100644 --- a/source3/modules/vfs_gpfs.c +++ b/source3/modules/vfs_gpfs.c @@ -185,8 +185,6 @@ static int vfs_gpfs_kernel_flock(vfs_handle_struct *handle, files_struct *fsp, return 0; } - kernel_flock(fsp_get_io_fd(fsp), share_access, access_mask); - ret = set_gpfs_sharemode(fsp, access_mask, share_access); END_PROFILE(syscall_kernel_flock);