Vnode is not referenced by the vfs_domount() at the point where
asserts are made. Remove them, since we might dereference freed memory. Leaked locks are asserted by the syscall return code anyway. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
aeb8eeb590
commit
1965f86c72
@ -1108,9 +1108,6 @@ vfs_domount(
|
|||||||
} else
|
} else
|
||||||
error = vfs_domount_update(td, vp, fsflags, optlist);
|
error = vfs_domount_update(td, vp, fsflags, optlist);
|
||||||
|
|
||||||
ASSERT_VI_UNLOCKED(vp, __func__);
|
|
||||||
ASSERT_VOP_UNLOCKED(vp, __func__);
|
|
||||||
|
|
||||||
return (error);
|
return (error);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user