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:
parent
e82241aa78
commit
12e2a30ef9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273430
@ -255,7 +255,7 @@ tmpfs_mount(struct mount *mp)
|
|||||||
|
|
||||||
MNT_ILOCK(mp);
|
MNT_ILOCK(mp);
|
||||||
mp->mnt_flag |= MNT_LOCAL;
|
mp->mnt_flag |= MNT_LOCAL;
|
||||||
mp->mnt_kern_flag |= MNTK_SUSPENDABLE;
|
mp->mnt_kern_flag |= MNTK_LOOKUP_SHARED | MNTK_SUSPENDABLE;
|
||||||
MNT_IUNLOCK(mp);
|
MNT_IUNLOCK(mp);
|
||||||
|
|
||||||
mp->mnt_data = tmp;
|
mp->mnt_data = tmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user