diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-03-04 19:06:26 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:55 -0400 |
commit | 7d6f07edc28c3c34bad7e6a92921e3fbf8c8dd4e (patch) | |
tree | 395f866b3f9dd9b2fb49923160c3fe12dfc495cb /fs/bcachefs/super-io.h | |
parent | 61a19ce4255abd1133d4e7cd64a6cfa40d1f37fa (diff) | |
download | linux-7d6f07edc28c3c34bad7e6a92921e3fbf8c8dd4e.tar.gz linux-7d6f07edc28c3c34bad7e6a92921e3fbf8c8dd4e.tar.bz2 linux-7d6f07edc28c3c34bad7e6a92921e3fbf8c8dd4e.zip |
bcachefs: Fix compat code for superblock
The bkey compat code wasn't being run for btree roots in the superblock
clean section - this patch fixes it to use the journal entry validate
code.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.h b/fs/bcachefs/super-io.h index dd8d4ba911f0..62d040d571c0 100644 --- a/fs/bcachefs/super-io.h +++ b/fs/bcachefs/super-io.h @@ -125,7 +125,7 @@ static inline struct bch_member_cpu bch2_mi_to_cpu(struct bch_member *mi) void bch2_journal_super_entries_add_common(struct bch_fs *, struct jset_entry **, u64); -void bch2_sb_clean_renumber(struct bch_sb_field_clean *, int); +int bch2_sb_clean_validate(struct bch_fs *, struct bch_sb_field_clean *, int); int bch2_fs_mark_dirty(struct bch_fs *); void bch2_fs_mark_clean(struct bch_fs *); |