diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-13 19:43:23 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-15 11:44:45 +1000 |
commit | 6a2f142b4980b8ce71980cd5bf8bd7b2428503d1 (patch) | |
tree | 4a2a24c6f916eb06dfd69139687cbc9201f7ebcd /source3/smbd/trans2.c | |
parent | d83276c13f3bfb25e98399827b1d5e10e709480d (diff) | |
download | samba-6a2f142b4980b8ce71980cd5bf8bd7b2428503d1.tar.gz samba-6a2f142b4980b8ce71980cd5bf8bd7b2428503d1.tar.bz2 samba-6a2f142b4980b8ce71980cd5bf8bd7b2428503d1.zip |
s3-smbd: Call sys_acl_get_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/trans2.c')
-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 9a311a3260..c114c42f32 100644 --- a/source3/smbd/trans2.c +++ b/source3/smbd/trans2.c @@ -3893,7 +3893,7 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_ break; case SMB_ACL_USER: { - uid_t *puid = (uid_t *)SMB_VFS_SYS_ACL_GET_QUALIFIER(conn, entry); + uid_t *puid = (uid_t *)sys_acl_get_qualifier(entry); if (!puid) { DEBUG(0,("marshall_posix_acl: SMB_VFS_SYS_ACL_GET_QUALIFIER failed.\n")); return False; @@ -3913,7 +3913,7 @@ static bool marshall_posix_acl(connection_struct *conn, char *pdata, SMB_STRUCT_ break; case SMB_ACL_GROUP: { - gid_t *pgid= (gid_t *)SMB_VFS_SYS_ACL_GET_QUALIFIER(conn, entry); + gid_t *pgid= (gid_t *)sys_acl_get_qualifier(entry); if (!pgid) { DEBUG(0,("marshall_posix_acl: SMB_VFS_SYS_ACL_GET_QUALIFIER failed.\n")); return False; |