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:
Axel Dörfler
2007-07-15 12:38:13 +00:00
parent f29a0687cf
commit bd1877933f
+1 -1
View File
@@ -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;
} }