svn commit: r221999 -
stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Xin LI
delphij at FreeBSD.org
Mon May 16 18:12:32 UTC 2011
Author: delphij
Date: Mon May 16 18:12:32 2011
New Revision: 221999
URL: http://svn.freebsd.org/changeset/base/221999
Log:
MFC r217588+218386 (trasz):
Add MNT_NFS4ACLS to ZFS mount flags and make it impossible to clear
the flag by using 'mount -uw'. 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.
Modified:
stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
==============================================================================
--- stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Mon May 16 17:21:22 2011 (r221998)
+++ stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Mon May 16 18:12:32 2011 (r221999)
@@ -1203,6 +1203,8 @@ zfs_mount(vfs_t *vfsp)
goto out;
}
+ vfsp->vfs_flag |= MNT_NFS4ACLS;
+
/*
* When doing a remount, we simply refresh our temporary properties
* according to those options set in the current VFS options.
More information about the svn-src-all
mailing list