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:
trasz 2011-01-19 17:11:52 +00:00
parent ad9fa092c4
commit 1a34ca4c98

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;