Fix reversed condition in the assertion.
Pointy hat to: kib MFC after: 13 days
This commit is contained in:
parent
55caa1df93
commit
268dd286a0
@ -224,7 +224,7 @@ null_nodeget(mp, lowervp, vpp)
|
||||
* provide ready to use vnode.
|
||||
*/
|
||||
if (VOP_ISLOCKED(lowervp) != LK_EXCLUSIVE) {
|
||||
KASSERT((MOUNTTONULLMOUNT(mp)->nullm_flags & NULLM_CACHE) == 0,
|
||||
KASSERT((MOUNTTONULLMOUNT(mp)->nullm_flags & NULLM_CACHE) != 0,
|
||||
("lowervp %p is not excl locked and cache is disabled",
|
||||
lowervp));
|
||||
vn_lock(lowervp, LK_UPGRADE | LK_RETRY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user