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

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;