Update bcachefs sources to fee79cd654 bcachefs: Fix BTREE_INSERT_NOMARK_OVERWRITES

This commit is contained in:
Kent Overstreet 2019-08-29 13:32:04 -04:00
parent 68963f1816
commit aa2a42b0a6
2 changed files with 4 additions and 1 deletions

View File

@ -1 +1 @@
0d627739e94c55ef19b6b6b9760133f7cf289f67
fee79cd6543ed687efe86458e3c4479eff818488

View File

@ -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;