summaryrefslogtreecommitdiffstats
path: root/sys/cddl/contrib
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2011-01-19 17:11:52 +0000
committertrasz <trasz@FreeBSD.org>2011-01-19 17:11:52 +0000
commit1a34ca4c98fc78feffe63e04a50b5b0c5734887a (patch)
treef4644af29881e55b49989d751c2e65036143bc75 /sys/cddl/contrib
parentad9fa092c46d2f6fe068c09bb476a5fe060ac984 (diff)
downloadFreeBSD-src-1a34ca4c98fc78feffe63e04a50b5b0c5734887a.zip
FreeBSD-src-1a34ca4c98fc78feffe63e04a50b5b0c5734887a.tar.gz
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
Diffstat (limited to 'sys/cddl/contrib')
-rw-r--r--sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
index a45f986..70b605d 100644
--- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
+++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
@@ -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;
OpenPOWER on IntegriCloud