summaryrefslogtreecommitdiffstats
path: root/sys/fs/tmpfs
diff options
context:
space:
mode:
authormjg <mjg@FreeBSD.org>2014-10-21 21:27:13 +0000
committermjg <mjg@FreeBSD.org>2014-10-21 21:27:13 +0000
commitb8143f5206f7d8d66c3ac2224d09705044fcd6a8 (patch)
treeb5dcb76ad6d9257904f121c5cf01356221e3e7f1 /sys/fs/tmpfs
parentbbd698e78ae3619a49cdc6d08bfb9d8cb0e3bc5e (diff)
downloadFreeBSD-src-b8143f5206f7d8d66c3ac2224d09705044fcd6a8.zip
FreeBSD-src-b8143f5206f7d8d66c3ac2224d09705044fcd6a8.tar.gz
tmpfs: allow shared file lookups
Tested by: pho
Diffstat (limited to 'sys/fs/tmpfs')
-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 4777234..f389f1c 100644
--- a/sys/fs/tmpfs/tmpfs_vfsops.c
+++ b/sys/fs/tmpfs/tmpfs_vfsops.c
@@ -255,7 +255,7 @@ tmpfs_mount(struct mount *mp)
MNT_ILOCK(mp);
mp->mnt_flag |= MNT_LOCAL;
- mp->mnt_kern_flag |= MNTK_SUSPENDABLE;
+ mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED | MNTK_SUSPENDABLE;
MNT_IUNLOCK(mp);
mp->mnt_data = tmp;
OpenPOWER on IntegriCloud