bcachefs: get_inodes_all_snapshots() now includes whiteouts
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 3 May 2025 20:48:00 +0000 (16:48 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:43 +0000 (20:14 -0400)
commit855070dc0b349eb4f17cfbe7e73829b1b2851bdc
tree74cc31f699ac95d8bd9605e7d2d67ebf848e3cb6
parenta9421140fc5a5647191704c8a5e93bf2aaeb2c0a
bcachefs: get_inodes_all_snapshots() now includes whiteouts

The next patch is going to change lookup_inode_for_snapshot to
rigorously require that a extent/dirent/xattr keys have a corresponding
inode key present - whiteouts included, so this simplifies the checks
lookup_inode_for_snapshot() will have to do.

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