bcachefs: Use bch2_err_matches() for BCH_ERR_fsck_(fix|ignore)
authorKent Overstreet <kent.overstreet@linux.dev>
Wed, 28 May 2025 15:31:51 +0000 (11:31 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Jun 2025 02:03:16 +0000 (22:03 -0400)
commit642c1aabb001ee8410e6bfb6654b23bcead64e4e
treed78f7fac442e85b3cd4e46e3d95dce84e0cd0c41
parentdc43f6a70b9685acabfda210f7cbb0520e952510
bcachefs: Use bch2_err_matches() for BCH_ERR_fsck_(fix|ignore)

We'll be adding subtypes of these errors, and new error code tracing.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_background.c
fs/bcachefs/btree_io.c
fs/bcachefs/error.c
fs/bcachefs/error.h