diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-09 00:49:14 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-05-09 22:23:36 +0200 |
commit | a5c3e265d3b61ab661df4f259a97b57840cb041e (patch) | |
tree | 8fc025e9a6552d51af483325edf5f7b3760611bd /fs/bcachefs/super-io.h | |
parent | bcachefs: s/bkey_invalid_flags/bch_validate_flags (diff) | |
download | linux-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/super-io.h')
-rw-r--r-- | fs/bcachefs/super-io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.h b/fs/bcachefs/super-io.h index 95e80e06316b..fadd364e2802 100644 --- a/fs/bcachefs/super-io.h +++ b/fs/bcachefs/super-io.h @@ -51,7 +51,8 @@ void bch2_sb_field_delete(struct bch_sb_handle *, enum bch_sb_field_type); extern const char * const bch2_sb_fields[]; struct bch_sb_field_ops { - int (*validate)(struct bch_sb *, struct bch_sb_field *, struct printbuf *); + int (*validate)(struct bch_sb *, struct bch_sb_field *, + enum bch_validate_flags, struct printbuf *); void (*to_text)(struct printbuf *, struct bch_sb *, struct bch_sb_field *); }; |