remove_vnode(): Also consider covering vnode busy

This commit is contained in:
Ingo Weinhold
2011-07-17 16:54:22 +02:00
parent 4ef5b631e7
commit 9561ddca0f
+1 -1
View File
@@ -3808,7 +3808,7 @@ remove_vnode(fs_volume* volume, ino_t vnodeID)
if (vnode == NULL)
return B_ENTRY_NOT_FOUND;
if (vnode->covered_by != NULL) {
if (vnode->covered_by != NULL || vnode->covers != NULL) {
// this vnode is in use
return B_BUSY;
}