MFC r267060:

Allow shared locking for the tmpfs vnode.
This commit is contained in:
kib 2014-06-11 03:59:14 +00:00
parent f8127115e6
commit 150b18f93d

View File

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