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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285039
@ -1108,9 +1108,6 @@ vfs_domount(
|
||||
} else
|
||||
error = vfs_domount_update(td, vp, fsflags, optlist);
|
||||
|
||||
ASSERT_VI_UNLOCKED(vp, __func__);
|
||||
ASSERT_VOP_UNLOCKED(vp, __func__);
|
||||
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user