1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

Add MNT_NFS4ACLS to ZFS mount flags. It's not conditional, since there

is no way to disable NFSv4 ACLs in ZFS.  This should make it easier
for the NFS server to figure out whether the exported filesystem supports
ACLs or not.

Reviewed by:	pjd
MFC after:	2 weeks
This commit is contained in:
Edward Tomasz Napierala 2011-01-19 17:11:52 +00:00
parent fd240d6d9f
commit 7a93bf9a69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217588

View File

@ -1021,7 +1021,7 @@ zfs_domount(vfs_t *vfsp, char *osname)
zfsvfs->z_vfs->mnt_stat.f_iosize = recordsize;
vfsp->vfs_data = zfsvfs;
vfsp->mnt_flag |= MNT_LOCAL;
vfsp->mnt_flag |= MNT_LOCAL | MNT_NFS4ACLS;
vfsp->mnt_kern_flag |= MNTK_MPSAFE;
vfsp->mnt_kern_flag |= MNTK_LOOKUP_SHARED;
vfsp->mnt_kern_flag |= MNTK_SHARED_WRITES;