remove_vnode() will now return an error code if the vnode to be removed did not exist.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21614 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2631,7 +2631,7 @@ remove_vnode(dev_t mountID, ino_t vnodeID)
|
|||||||
free_vnode(vnode, true);
|
free_vnode(vnode, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
return B_OK;
|
return vnode != NULL ? B_OK : B_ENTRY_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user