Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Mar 2016 01:35:04 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r297002 - stable/10/sys/fs/nullfs
Message-ID:  <201603180135.u2I1Z434042570@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Mar 18 01:35:03 2016
New Revision: 297002
URL: https://svnweb.freebsd.org/changeset/base/297002

Log:
  MFC r296388:
  Pass MNTK_NO_IOPF and MNTK_UNMAPPED_BUFS flags from the lower
  filesystem to the nullfs mount.

Modified:
  stable/10/sys/fs/nullfs/null_vfsops.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/fs/nullfs/null_vfsops.c
==============================================================================
--- stable/10/sys/fs/nullfs/null_vfsops.c	Fri Mar 18 01:30:58 2016	(r297001)
+++ stable/10/sys/fs/nullfs/null_vfsops.c	Fri Mar 18 01:35:03 2016	(r297002)
@@ -199,7 +199,7 @@ nullfs_mount(struct mount *mp)
 	}
 	mp->mnt_kern_flag |= MNTK_LOOKUP_EXCL_DOTDOT;
 	mp->mnt_kern_flag |= lowerrootvp->v_mount->mnt_kern_flag &
-	    MNTK_USES_BCACHE;
+	    (MNTK_USES_BCACHE | MNTK_NO_IOPF | MNTK_UNMAPPED_BUFS);
 	MNT_IUNLOCK(mp);
 	mp->mnt_data = xmp;
 	vfs_getnewfsid(mp);



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