MFC r267060:
Allow shared locking for the tmpfs vnode.
This commit is contained in:
parent
f8127115e6
commit
150b18f93d
@ -595,6 +595,8 @@ loop1:
|
||||
default:
|
||||
panic("tmpfs_alloc_vp: type %p %d", node, (int)node->tn_type);
|
||||
}
|
||||
if (vp->v_type != VFIFO)
|
||||
VN_LOCK_ASHARE(vp);
|
||||
|
||||
error = insmntque1(vp, mp, tmpfs_insmntque_dtr, NULL);
|
||||
if (error)
|
||||
|
Loading…
x
Reference in New Issue
Block a user