Date: Tue, 31 Mar 2009 17:30:31 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 160063 for review Message-ID: <200903311730.n2VHUVEk041768@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=160063 Change 160063 by trasz@trasz_victim7 on 2009/03/31 17:29:33 Fix build even more. Affected files ... .. //depot/projects/soc2008/trasz_nfs4acl/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/acl_compat.c#5 edit Differences ... ==== //depot/projects/soc2008/trasz_nfs4acl/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/acl_compat.c#5 (text+ko) ==== @@ -142,7 +142,7 @@ int acl_from_aces(struct acl *aclp, const ace_t *aces, int nentries) { - int i; + int i, tmpflags = 0; struct acl_entry *entry; const ace_t *ace; @@ -172,7 +172,8 @@ entry->ae_id = ACL_UNDEFINED_ID; _bsd_from_sun(&(entry->ae_perm), ace->a_access_mask, perms); - _bsd_from_sun(&(entry->ae_flags), ace->a_flags, flags); + _bsd_from_sun(&tmpflags, ace->a_flags, flags); + entry->ae_flags = tmpflags; switch (ace->a_type) { case ACE_ACCESS_ALLOWED_ACE_TYPE:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903311730.n2VHUVEk041768>