Fixed a possible crashing bug in case of a corrupt inode: the vnode was
removed twice from its mount's list. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11409 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -762,7 +762,6 @@ restart:
|
||||
|
||||
status = FS_CALL(vnode, get_vnode)(vnode->mount->cookie, vnodeID, &vnode->private_node, reenter);
|
||||
if (status < B_OK || vnode->private_node == NULL) {
|
||||
remove_vnode_from_mount_list(vnode, vnode->mount);
|
||||
if (status == B_NO_ERROR)
|
||||
status = B_BAD_VALUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user