diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-15 18:20:46 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:18 -0400 |
commit | 4d8100daa9bb6c243cd39be0956005a76eec36ee (patch) | |
tree | d27dbb35311b15c0014342a8fd7c72bca28737df /fs/bcachefs/extents.c | |
parent | 9623ab27ab27e211e66aa1dd9a5ec90307160c8b (diff) |
bcachefs: Allocate fs_usage in do_btree_insert_at()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/extents.c')
-rw-r--r-- | fs/bcachefs/extents.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/bcachefs/extents.c b/fs/bcachefs/extents.c index 80531017b237..194b8d6da1bb 100644 --- a/fs/bcachefs/extents.c +++ b/fs/bcachefs/extents.c @@ -1190,11 +1190,12 @@ void bch2_insert_fixup_extent(struct btree_trans *trans, if (s.deleting) tmp.k.k.type = KEY_TYPE_discard; - +#if 0 + /* disabled due to lock recursion - mark_lock: */ if (debug_check_bkeys(c)) bch2_bkey_debugcheck(c, iter->l[0].b, bkey_i_to_s_c(&tmp.k)); - +#endif EBUG_ON(bkey_deleted(&tmp.k.k) || !tmp.k.k.size); extent_bset_insert(c, iter, &tmp.k); |