summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs/tmpfs_vfsops.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2017-01-26 10:18:00 +0000
committerkib <kib@FreeBSD.org>2017-01-26 10:18:00 +0000
commit82e86dbbf49dc49af534b71619228971159f6526 (patch)
treeebc733524a1372889748e4a02c1d3b42d8613acc /sys/fs/tmpfs/tmpfs_vfsops.c
parentd4d1ad6628e89c32a56dd437daeea2cd3a84dd6a (diff)
downloadFreeBSD-src-82e86dbbf49dc49af534b71619228971159f6526.zip
FreeBSD-src-82e86dbbf49dc49af534b71619228971159f6526.tar.gz
MFC r311526 (by mjg):
tmpfs: enable MNTK_EXTENDED_SHARED.
Diffstat (limited to 'sys/fs/tmpfs/tmpfs_vfsops.c')
-rw-r--r--sys/fs/tmpfs/tmpfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/tmpfs/tmpfs_vfsops.c b/sys/fs/tmpfs/tmpfs_vfsops.c
index f1ba960..67de4b6 100644
--- a/sys/fs/tmpfs/tmpfs_vfsops.c
+++ b/sys/fs/tmpfs/tmpfs_vfsops.c
@@ -257,7 +257,7 @@ tmpfs_mount(struct mount *mp)
MNT_ILOCK(mp);
mp->mnt_flag |= MNT_LOCAL;
- mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED;
+ mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED | MNTK_EXTENDED_SHARED;
MNT_IUNLOCK(mp);
mp->mnt_data = tmp;
OpenPOWER on IntegriCloud