Re: [PATCH v1 07/12] f2fs: cache: use node cache
From: Wenjie Qi
Date: Sun Aug 23 2026 - 08:59:22 EST
Hi Chao,
> out_err:
> f2fs_clear_cache_dirty(entry);
Both the inode-checksum and footer-validation failure paths reach this label.
`f2fs_clear_cache_dirty()` clears the DIRTY state bit, but it does not clear
UPTODATE or synchronize the DIRTY radix tag and dirty-node counter.
What invariant keeps these states consistent after node validation fails?