Update bcachefs sources to 4af8a1ac90dc bcachefs: fsck: fix unhandled restart in topology repair
Some checks failed
build / bcachefs-tools-deb (ubuntu-22.04) (push) Has been cancelled
build / bcachefs-tools-deb (ubuntu-24.04) (push) Has been cancelled
build / bcachefs-tools-rpm (push) Has been cancelled
build / bcachefs-tools-msrv (push) Has been cancelled
Nix Flake actions / nix-matrix (push) Has been cancelled
Nix Flake actions / ${{ matrix.name }} (${{ matrix.system }}) (push) Has been cancelled

This commit is contained in:
Kent Overstreet 2025-06-17 16:45:37 -04:00
parent 1cdc1c3aee
commit 35c7f2b4e3
2 changed files with 7 additions and 2 deletions

View File

@ -1 +1 @@
bbc3a0b17a890aa19bddd0f9b08e8af488f1ec94
4af8a1ac90dcd9028d5a53b4487aa0d3a47f3de4

View File

@ -503,8 +503,13 @@ again:
prt_newline(&buf);
bch2_bkey_val_to_text(&buf, c, bkey_i_to_s_c(&b->key));
/*
* XXX: we're not passing the trans object here because we're not set up
* to handle a transaction restart - this code needs to be rewritten
* when we start doing online topology repair
*/
if (mustfix_fsck_err_on(!have_child,
trans, btree_node_topology_interior_node_empty,
c, btree_node_topology_interior_node_empty,
"empty interior btree node at %s", buf.buf))
ret = DROP_THIS_NODE;
err: