diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-13 19:53:41 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-15 11:44:47 +1000 |
commit | 6a46fbb393559be0d80d7b80a1391fbed52bcce0 (patch) | |
tree | 4735fa7ea0701b61e7182cd7fc0cec6f15f0e004 /source3/smbd | |
parent | e019b93f0e4aed60f23b57b02470f34cff871b41 (diff) | |
download | samba-6a46fbb393559be0d80d7b80a1391fbed52bcce0.tar.gz samba-6a46fbb393559be0d80d7b80a1391fbed52bcce0.tar.bz2 samba-6a46fbb393559be0d80d7b80a1391fbed52bcce0.zip |
s3-smbd: Call sys_acl_free_qualifier() directly rather than via the VFS
This will allow us to remove the struct smb_acl_t manipuations from the VFS layer,
which will be reduced to handling the get/set functions.
Andrew Bartlett
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/trans2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c index a25f1e16d8..c7bf4d0e2c 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3899,7 +3899,7 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_ return False; } own_grp = (unsigned int)*puid; - SMB_VFS_SYS_ACL_FREE_QUALIFIER(conn, (void *)puid,tagtype); + sys_acl_free_qualifier((void*)puid,tagtype); SCVAL(pdata,0,SMB_POSIX_ACL_USER); SIVAL(pdata,2,own_grp); SIVAL(pdata,6,0); @@ -3919,7 +3919,7 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_ return False; } own_grp = (unsigned int)*pgid; - SMB_VFS_SYS_ACL_FREE_QUALIFIER(conn, (void *)pgid,tagtype); + sys_acl_free_qualifier((void *)pgid,tagtype); SCVAL(pdata,0,SMB_POSIX_ACL_GROUP); SIVAL(pdata,2,own_grp); SIVAL(pdata,6,0); |