diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-02-02 21:56:44 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:52 +0200 |
commit | 26452d1dcd4b134ecc7aeaae74f78de1c525caf3 (patch) | |
tree | e9149605ab5de1d913cb9c322f4933fb5b619c58 /fs/bcachefs/replicas.h | |
parent | bcachefs: Add an assertion to check for journal writes to same location (diff) | |
download | linux-26452d1dcd4b134ecc7aeaae74f78de1c525caf3.tar.xz linux-26452d1dcd4b134ecc7aeaae74f78de1c525caf3.zip |
bcachefs: Add missing call to bch2_replicas_entry_sort()
This fixes a bug introduced by "bcachefs: Improve diagnostics when
journal entries are missing" - devices in a replicas entry are supposed
to be sorted.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/replicas.h')
-rw-r--r-- | fs/bcachefs/replicas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/replicas.h b/fs/bcachefs/replicas.h index 8b95164fbb56..a16ef23bde8a 100644 --- a/fs/bcachefs/replicas.h +++ b/fs/bcachefs/replicas.h @@ -5,6 +5,7 @@ #include "eytzinger.h" #include "replicas_types.h" +void bch2_replicas_entry_sort(struct bch_replicas_entry *); void bch2_replicas_entry_to_text(struct printbuf *, struct bch_replicas_entry *); void bch2_cpu_replicas_to_text(struct printbuf *, struct bch_replicas_cpu *); |