BFS: allow deleting "bad data" files
"bad data" files now can be deleted with "rm --force <name>". Fixes #15730. Change-Id: I44bda91f3c2198d30212b4d7791a9b55f947c926 Reviewed-on: https://review.haiku-os.org/c/haiku/+/2257 Reviewed-by: Axel Dörfler <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -2504,7 +2504,7 @@ Inode::Remove(Transaction& transaction, const char* name, ino_t* _id,
|
||||
status_t status = vnode.Get(&inode);
|
||||
if (status < B_OK) {
|
||||
REPORT_ERROR(status);
|
||||
return B_ENTRY_NOT_FOUND;
|
||||
return fTree->Remove(transaction, name, id);
|
||||
}
|
||||
|
||||
T(Remove(inode, name));
|
||||
|
||||
Reference in New Issue
Block a user