From: Andrew Bartlett Date: Mon, 13 Aug 2012 09:47:16 +0000 (+1000) Subject: s3-smbd: Call sys_acl_free_qualifier() directly rather than via the VFS X-Git-Tag: tevent-0.9.17~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d8fb9e77ec98b055e1214e4ccf9d3f047354ac97;p=thirdparty%2Fsamba.git 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 --- diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index b3695829871..e63f8b7e93a 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: