This is a micro-patch to make the next ones just obvious
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
if (!(fsp->access_mask & access_mask)) {
return NT_STATUS_ACCESS_DENIED;
}
+ return NT_STATUS_OK;
} else {
NTSTATUS status = smbd_check_access_rights(conn,
smb_fname,
if (!NT_STATUS_IS_OK(status)) {
return status;
}
+ return NT_STATUS_OK;
}
- return NT_STATUS_OK;
}
/********************************************************************