diff options
author | mjg <mjg@FreeBSD.org> | 2014-10-21 21:27:13 +0000 |
---|---|---|
committer | mjg <mjg@FreeBSD.org> | 2014-10-21 21:27:13 +0000 |
commit | b8143f5206f7d8d66c3ac2224d09705044fcd6a8 (patch) | |
tree | b5dcb76ad6d9257904f121c5cf01356221e3e7f1 /sys/fs/tmpfs | |
parent | bbd698e78ae3619a49cdc6d08bfb9d8cb0e3bc5e (diff) | |
download | FreeBSD-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.c | 2 |
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; |