mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-01-23 00:07:07 +03:00
Update bcachefs sources to b2f5acc670 bcachefs: fix assertion in journal read
This commit is contained in:
parent
1cf4d51dc4
commit
da37a5f204
@ -1 +1 @@
|
||||
14ce2a2031f3761a4b957aa2e5aac446ce18b87c
|
||||
b2f5acc6709a25f6134714d763e3f6ace1e2cc55
|
||||
|
@ -395,9 +395,10 @@ add:
|
||||
i->devs.nr = 0;
|
||||
memcpy(&i->j, j, bytes);
|
||||
found:
|
||||
if (!fsck_err_on(bch2_dev_list_has_dev(i->devs, ca->dev_idx),
|
||||
c, "duplicate journal entries on same device"))
|
||||
if (!bch2_dev_list_has_dev(i->devs, ca->dev_idx))
|
||||
bch2_dev_list_add_dev(&i->devs, ca->dev_idx);
|
||||
else
|
||||
fsck_err_on(1, c, "duplicate journal entries on same device");
|
||||
ret = JOURNAL_ENTRY_ADD_OK;
|
||||
out:
|
||||
fsck_err:
|
||||
|
Loading…
Reference in New Issue
Block a user