From d8fb9e77ec98b055e1214e4ccf9d3f047354ac97 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 13 Aug 2012 19:47:16 +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/posix_acls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/posix_acls.c') diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index b369582987..e63f8b7e93 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -2667,7 +2667,7 @@ static canon_ace *canonicalise_acl(struct connection_struct *conn, unix_ug.type = ID_TYPE_UID; unix_ug.id = *puid; owner_type = UID_ACE; - SMB_VFS_SYS_ACL_FREE_QUALIFIER(conn, (void *)puid,tagtype); + sys_acl_free_qualifier((void *)puid,tagtype); break; } case SMB_ACL_GROUP_OBJ: @@ -2688,7 +2688,7 @@ static canon_ace *canonicalise_acl(struct connection_struct *conn, unix_ug.type = ID_TYPE_GID; unix_ug.id = *pgid; owner_type = GID_ACE; - SMB_VFS_SYS_ACL_FREE_QUALIFIER(conn, (void *)pgid,tagtype); + sys_acl_free_qualifier((void *)pgid,tagtype); break; } case SMB_ACL_MASK: -- cgit