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

Enable shared lookups on UFS. There are some remaining issues with forced

unmounts, but those are in the VFS lookup code are not UFS specific.

Tested by:	pho, kris
This commit is contained in:
John Baldwin 2008-09-24 18:53:04 +00:00
parent d2722d704c
commit f888634792
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183331

View File

@ -882,7 +882,7 @@ ffs_mountfs(devvp, mp, td)
* Initialize filesystem stat information in mount struct.
*/
MNT_ILOCK(mp);
mp->mnt_kern_flag |= MNTK_MPSAFE;
mp->mnt_kern_flag |= MNTK_MPSAFE | MNTK_LOOKUP_SHARED;
MNT_IUNLOCK(mp);
#ifdef UFS_EXTATTR
#ifdef UFS_EXTATTR_AUTOSTART