mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s2/modules: nfs4acl_smb4acl_set_fn SMB_VFS_NEXT_SETXATTR -> SMB_VFS_NEXT_FFSETXATTR
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
b9efb0a594
commit
a7e2ecca85
@ -335,14 +335,8 @@ static bool nfs4acl_smb4acl_set_fn(vfs_handle_struct *handle,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (fsp_get_pathref_fd(fsp) != -1) {
|
||||
ret = SMB_VFS_NEXT_FSETXATTR(handle, fsp, config->xattr_name,
|
||||
blob.data, blob.length, 0);
|
||||
} else {
|
||||
ret = SMB_VFS_NEXT_SETXATTR(handle, fsp->fsp_name,
|
||||
config->xattr_name,
|
||||
blob.data, blob.length, 0);
|
||||
}
|
||||
ret = SMB_VFS_NEXT_FSETXATTR(handle, fsp, config->xattr_name,
|
||||
blob.data, blob.length, 0);
|
||||
if (ret != 0) {
|
||||
saved_errno = errno;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user