summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-02-12 15:51:45 +1300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:52 -0400
commit3277081522d8620f7410b173881d4b0267ce58f9 (patch)
tree77d6e9ace0cea64ac5a3e73f0d533dbf3d9eb3f8 /fs
parent8ffa11a2c523b49836ca05f8755e22a4607d86a7 (diff)
downloadlwn-3277081522d8620f7410b173881d4b0267ce58f9.tar.gz
lwn-3277081522d8620f7410b173881d4b0267ce58f9.zip
bcachefs: Don't run triggers when repairing in __bch2_mark_reflink_p()
Triggers current trip-up on the faulty reflink we're trying to repair, Disabling them lets us fix broken reflink and continue. Signed-off-by: Daniel Hill <daniel@gluo.nz> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r--fs/bcachefs/buckets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/buckets.c b/fs/bcachefs/buckets.c
index 32750a65d37a..2e1751eeaef4 100644
--- a/fs/bcachefs/buckets.c
+++ b/fs/bcachefs/buckets.c
@@ -1225,7 +1225,7 @@ not_found:
new->k.p.offset += *idx - start;
bch2_key_resize(&new->k, next_idx - *idx);
ret = __bch2_btree_insert(trans, BTREE_ID_extents, &new->k_i,
- 0);
+ BTREE_TRIGGER_NORUN);
}
*idx = next_idx;