Update bcachefs sources to 4c2d3669b1 bcachefs: In fsck, pass BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE when deleting dirents

This commit is contained in:
Kent Overstreet 2022-04-12 13:15:53 -04:00
parent 51d44e575c
commit ca4bb4155a
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
7a06c01fa30b52389bb050244ecfae48026efaa1
4c2d3669b15475674b750244bb1e096849352bc8

View File

@ -311,7 +311,8 @@ static int __remove_dirent(struct btree_trans *trans, struct bpos pos)
bch2_trans_iter_init(trans, &iter, BTREE_ID_dirents, pos, BTREE_ITER_INTENT);
ret = bch2_hash_delete_at(trans, bch2_dirent_hash_desc,
&dir_hash_info, &iter, 0);
&dir_hash_info, &iter,
BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE);
bch2_trans_iter_exit(trans, &iter);
err:
if (ret && ret != -EINTR)