summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-03-18 01:35:03 +0000
committerkib <kib@FreeBSD.org>2016-03-18 01:35:03 +0000
commit998379240e60fe68e8cd27e5b91aaf75fcfb80e3 (patch)
tree30e73020ee7c1f81ffa23b5c1701406187e5d00a /sys/fs
parent95e874ef1f0928425311f1b1469e8eda76066d02 (diff)
downloadFreeBSD-src-998379240e60fe68e8cd27e5b91aaf75fcfb80e3.zip
FreeBSD-src-998379240e60fe68e8cd27e5b91aaf75fcfb80e3.tar.gz
MFC r296388:
Pass MNTK_NO_IOPF and MNTK_UNMAPPED_BUFS flags from the lower filesystem to the nullfs mount.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/nullfs/null_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nullfs/null_vfsops.c b/sys/fs/nullfs/null_vfsops.c
index 64e1e29..49bae28 100644
--- a/sys/fs/nullfs/null_vfsops.c
+++ b/sys/fs/nullfs/null_vfsops.c
@@ -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);
OpenPOWER on IntegriCloud