Module Name: src Committed By: hauke Date: Tue Dec 21 15:08:14 UTC 2021
Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_acl.c Log Message: Default files to BSD group ownership in line with ffs, after the lead of FreeBSD <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=139076> (patch by hannken@) To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c diff -u src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c:1.6 src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c:1.7 --- src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c:1.6 Tue Mar 17 00:54:03 2020 +++ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_acl.c Tue Dec 21 15:08:14 2021 @@ -1661,7 +1661,7 @@ zfs_acl_ids_create(znode_t *dzp, int fla } else { acl_ids->z_fgid = zfs_fuid_create_cred(zfsvfs, ZFS_GROUP, cr, &acl_ids->z_fuidp); -#ifdef __FreeBSD_kernel__ +#if defined(__FreeBSD_kernel__) || defined(__NetBSD__) gid = acl_ids->z_fgid = dzp->z_gid; #else gid = crgetgid(cr);