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:
parent
f29a0687cf
commit
bd1877933f
|
@ -2631,7 +2631,7 @@ remove_vnode(dev_t mountID, ino_t vnodeID)
|
|||
free_vnode(vnode, true);
|
||||
}
|
||||
|
||||
return B_OK;
|
||||
return vnode != NULL ? B_OK : B_ENTRY_NOT_FOUND;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue