svn commit: r297002 - stable/10/sys/fs/nullfs
Konstantin Belousov
kib at FreeBSD.org
Fri Mar 18 01:35:05 UTC 2016
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);
More information about the svn-src-stable
mailing list