bcachefs: fsck: Break walk_inode() up into multiple functions
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 25 Jun 2023 20:35:49 +0000 (16:35 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:05 +0000 (17:10 -0400)
commit06dcca5191dcae948fa8ffd9369deb832881ffcd
tree83576b168a0f04e5ffd4706af16404329b6d7e08
parent1fa3e87ac50a24a4f6a71986a4d9bc2f16d0667e
bcachefs: fsck: Break walk_inode() up into multiple functions

Some refactoring, prep work for algorithm improvements related to
snapshots.

we need to add a bitmap to the list of inodes for "seen this snapshot";
for this bitmap to correctly be available, we'll need to gather the list
of inodes first, and later look up the inode for a given snapshot.

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