mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Update bcachefs sources to de2fbf8b87 fixup! bcachefs: Change journal_io.c assertion to error message
This commit is contained in:
parent
04ad4ade4c
commit
f89eb5a288
@ -1 +1 @@
|
||||
fb8a27f6d45d869450c676e743cff4b03bb713ba
|
||||
de2fbf8b875fd8e61cc9a583d073f5527e3cb8e7
|
||||
|
@ -989,7 +989,7 @@ static void bch2_journal_read_device(struct closure *cl)
|
||||
bch_err(c, "ja->sectors_free == ca->mi.bucket_size");
|
||||
bch_err(c, "cur_idx %u/%u", ja->cur_idx, ja->nr);
|
||||
for (i = 0; i < 3; i++) {
|
||||
unsigned idx = ja->cur_idx - 1 + i;
|
||||
unsigned idx = (ja->cur_idx + ja->nr - 1 + i) % ja->nr;
|
||||
bch_err(c, "bucket_seq[%u] = %llu", idx, ja->bucket_seq[idx]);
|
||||
}
|
||||
ja->sectors_free = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user