bcachefs: Check inodes at start of fsck
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 7 Apr 2021 01:41:48 +0000 (21:41 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:59 +0000 (17:08 -0400)
commit5c16add5ad7897248ded54c34f65cb9479ca542a
treeb6699e429ac285389b2c8aa5e2b259c0bea2cc9d
parentd7f35163e61d962132539e38be89330834a8455b
bcachefs: Check inodes at start of fsck

This splits out checking inode nlinks from the rest of the inode checks
and moves most of the inode checks to the start of fsck, so that other
fsck passes can depend on it.

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