From 6a46fbb393559be0d80d7b80a1391fbed52bcce0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 13 Aug 2012 19:53:41 +1000 Subject: 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 --- source3/smbd/trans2.c | 4 ++-- 1 file 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); -- cgit