Date: Wed, 26 Nov 2008 14:25:04 GMT From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 153610 for review Message-ID: <200811261425.mAQEP4IG072998@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=153610 Change 153610 by trasz@trasz_victim7 on 2008/11/26 14:24:12 Remove bogus check that broke 02.t. Access is checked by zfs_setacl(). Affected files ... .. //depot/projects/soc2008/trasz_nfs4acl/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c#13 edit Differences ... ==== //depot/projects/soc2008/trasz_nfs4acl/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c#13 (text+ko) ==== @@ -4845,12 +4845,6 @@ if (ap->a_type != ACL_TYPE_NFS4) return (EOPNOTSUPP); - /* Mostly taken from common/syscall/acl.c. */ - - error = VOP_ACCESS(ap->a_vp, VWRITE_ACL, ap->a_cred, ap->a_td); - if (error != 0) - return (error); - if (ap->a_aclp->acl_cnt < 1 || ap->a_aclp->acl_cnt > MAX_ACL_ENTRIES) return (EINVAL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811261425.mAQEP4IG072998>