mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
vfs_fruit: only do cross protocol locking on non-internal opens
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13968 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit f5f7d1e9bf7e39933ccf7c874e682f9df80a6fec)
This commit is contained in:
parent
645836ff20
commit
b10eabed24
@ -6066,7 +6066,9 @@ static NTSTATUS fruit_create_file(vfs_handle_struct *handle,
|
||||
return status;
|
||||
}
|
||||
|
||||
if (config->locking == FRUIT_LOCKING_NETATALK) {
|
||||
if ((config->locking == FRUIT_LOCKING_NETATALK) &&
|
||||
(fsp->op != NULL))
|
||||
{
|
||||
status = fruit_check_access(
|
||||
handle, *result,
|
||||
access_mask,
|
||||
|
Loading…
x
Reference in New Issue
Block a user