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:
Axel Dörfler
2005-02-18 03:57:08 +00:00
parent 7d76ee9a6d
commit db5fbf2a6b
-1
View File
@@ -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;
}