bcachefs: fsck: walk_inode() now takes is_whiteout
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 16 Jul 2023 18:19:08 +0000 (14:19 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:07 +0000 (17:10 -0400)
commita57f4d611320a38b1985b2e5ba342d923b35964f
tree6fe10253c0b7076b0db4c0f2713599dd5c065311
parent0d8f320dd7e8fb4f1ac125f168e939b952ca3f8c
bcachefs: fsck: walk_inode() now takes is_whiteout

We only want to synthesize an inode for the current snapshot ID for non
whiteouts - this refactoring lets us call walk_inode() earlier and clean
up some control flow.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fsck.c