Skip to content
Commit 09fb85ae authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Run may_delete_deleted_inode() checks in bch2_inode_rm()



We had a bug where bch2_evict_inode() incorrectly called bch2_inode_rm()
- the journal clearly showed the inode was not unlinked.

We've got checks that we use in recovery when cleaning up deleted
inodes, lift them to bch2_inode_rm() as well.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent bb6689bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment