Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 May 2011 18:12:32 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r221999 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201105161812.p4GICWlx093619@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105161812.p4GICWlx093619>