mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
Update bcachefs sources to fee79cd654 bcachefs: Fix BTREE_INSERT_NOMARK_OVERWRITES
This commit is contained in:
parent
68963f1816
commit
aa2a42b0a6
@ -1 +1 @@
|
||||
0d627739e94c55ef19b6b6b9760133f7cf289f67
|
||||
fee79cd6543ed687efe86458e3c4479eff818488
|
||||
|
@ -1762,6 +1762,9 @@ int bch2_trans_mark_update(struct btree_trans *trans,
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
if (unlikely(trans->flags & BTREE_INSERT_NOMARK_OVERWRITES))
|
||||
return 0;
|
||||
|
||||
while ((_k = bch2_btree_node_iter_peek_filter(&node_iter, b,
|
||||
KEY_TYPE_discard))) {
|
||||
struct bkey unpacked;
|
||||
|
Loading…
Reference in New Issue
Block a user