summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/sb-errors.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-05-09 00:49:14 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-09 22:23:36 +0200
commita5c3e265d3b61ab661df4f259a97b57840cb041e (patch)
tree8fc025e9a6552d51af483325edf5f7b3760611bd /fs/bcachefs/sb-errors.c
parentbcachefs: s/bkey_invalid_flags/bch_validate_flags (diff)
downloadlinux-a5c3e265d3b61ab661df4f259a97b57840cb041e.tar.xz
linux-a5c3e265d3b61ab661df4f259a97b57840cb041e.zip
bcachefs: Plumb bch_validate_flags to sb_field_ops.validate()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/sb-errors.c')
-rw-r--r--fs/bcachefs/sb-errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/sb-errors.c b/fs/bcachefs/sb-errors.c
index 5f5bcae391fb..bda33e59e226 100644
--- a/fs/bcachefs/sb-errors.c
+++ b/fs/bcachefs/sb-errors.c
@@ -30,7 +30,7 @@ static inline unsigned bch2_sb_field_errors_u64s(unsigned nr)
}
static int bch2_sb_errors_validate(struct bch_sb *sb, struct bch_sb_field *f,
- struct printbuf *err)
+ enum bch_validate_flags flags, struct printbuf *err)
{
struct bch_sb_field_errors *e = field_to_type(f, errors);
unsigned i, nr = bch2_sb_field_errors_nr_entries(e);