[Bug 265893] ZFS mount show nfsv4acls although pool/dataset is created with acltype=off

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Aug 2022 00:00:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265893

Allan Jude <allanjude@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allanjude@FreeBSD.org

--- Comment #1 from Allan Jude <allanjude@FreeBSD.org> ---
in sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c:zfs_mount()

it sets the nfs4v ACLs flag unconditionally:

vfsp->vfs_flag |= MNT_NFS4ACLS;

It should probably only do this if the aclmode is set.

This looks like maybe it should move to zfs_domount() along with case
sensitivity etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.