1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

tmpfs: allow shared file lookups

Tested by: pho
This commit is contained in:
Mateusz Guzik 2014-10-21 21:27:13 +00:00
parent e82241aa78
commit 12e2a30ef9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273430

View File

@ -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;