remove_vnode(): Also consider covering vnode busy

This commit is contained in:
Ingo Weinhold
2011-11-25 06:17:47 +01:00
parent bd85d7c7b9
commit e4320fd78c
+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;
}