bcachefs: bch2_dev_missing_bkey()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 15 Apr 2025 18:08:42 +0000 (14:08 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:17 +0000 (20:14 -0400)
commit040c762152f5f4fb1b13e8a46c17ecb4e670d96d
tree65e07ba8c16b5323f7f48c28c71065ecf0568d69
parent2085325171f2f2d33a94101e58266f325c286e95
bcachefs: bch2_dev_missing_bkey()

Part of the ongoing project to kill off bch2_(fs|trans)_inconsistent
calls - they generally need to be replaced with either

- a fsck_err() call that can repair the error, or

- logging an error of the appropriate type in the superblock, and
  flagging the appropriate recovery pass to repair the error

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/extents.c
fs/bcachefs/sb-members.c
fs/bcachefs/sb-members.h