From b8143f5206f7d8d66c3ac2224d09705044fcd6a8 Mon Sep 17 00:00:00 2001 From: mjg Date: Tue, 21 Oct 2014 21:27:13 +0000 Subject: tmpfs: allow shared file lookups Tested by: pho --- sys/fs/tmpfs/tmpfs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') 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; -- cgit v1.1