diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-04-14 17:31:42 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-05-09 06:18:20 +0200 |
commit | 67bb7d93ba8fccd030bd8d01536f3222c85134b7 (patch) | |
tree | 3beaf4e99250cece90e8190eb60e0fde757b0ba9 /source3/modules/nfs4_acls.c | |
parent | d87b81fa303ee297685f4eb5599010901ed68145 (diff) | |
download | samba-67bb7d93ba8fccd030bd8d01536f3222c85134b7.tar.gz samba-67bb7d93ba8fccd030bd8d01536f3222c85134b7.tar.bz2 samba-67bb7d93ba8fccd030bd8d01536f3222c85134b7.zip |
vfs: Add vfs_handle_struct argument to smb_set_nt_acl_nfs4 and the callback
This allows the callback to call xattr based storage functions that need this argument.
Andrew Bartlett
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/modules/nfs4_acls.c')
-rw-r--r-- | source3/modules/nfs4_acls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c index 67db6b023c..fa9efc12e9 100644 --- a/source3/modules/nfs4_acls.c +++ b/source3/modules/nfs4_acls.c @@ -734,7 +734,7 @@ static SMB4ACL_T *smbacl4_win2nfs4( return theacl; } -NTSTATUS smb_set_nt_acl_nfs4(files_struct *fsp, +NTSTATUS smb_set_nt_acl_nfs4(vfs_handle_struct *handle, files_struct *fsp, uint32 security_info_sent, const struct security_descriptor *psd, set_nfs4acl_native_fn_t set_nfs4_native) @@ -819,7 +819,7 @@ NTSTATUS smb_set_nt_acl_nfs4(files_struct *fsp, if (set_acl_as_root) { become_root(); } - result = set_nfs4_native(fsp, theacl); + result = set_nfs4_native(handle, fsp, theacl); saved_errno = errno; if (set_acl_as_root) { unbecome_root(); |