From: Ralph Boehme Date: Sat, 1 Aug 2020 14:19:20 +0000 (+0200) Subject: vfs_fruit: skip Netatalk locking checks for path-ref fd's X-Git-Tag: samba-4.14.0rc1~393 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=011252c6111871e7376450caf7cf7d6f2ff80cde;p=thirdparty%2Fsamba.git vfs_fruit: skip Netatalk locking checks for path-ref fd's Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c index dae9db5d423..6576ea1dbaa 100644 --- a/source3/modules/vfs_fruit.c +++ b/source3/modules/vfs_fruit.c @@ -4014,7 +4014,8 @@ static NTSTATUS fruit_create_file(vfs_handle_struct *handle, } if ((config->locking == FRUIT_LOCKING_NETATALK) && - (fsp->op != NULL)) + (fsp->op != NULL) && + !fsp->fsp_flags.is_pathref) { status = fruit_check_access( handle, *result,