summaryrefslogtreecommitdiff
path: root/fs/bcachefs/buckets.c
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-01-20 01:27:30 +1300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:52 -0400
commit8ffa11a2c523b49836ca05f8755e22a4607d86a7 (patch)
tree94a95704b518b5adfc7b62b3b19657612f91b2e5 /fs/bcachefs/buckets.c
parent76966dbfa9eb4a723cb899ba07f55448e5b21bbe (diff)
downloadlwn-8ffa11a2c523b49836ca05f8755e22a4607d86a7.tar.gz
lwn-8ffa11a2c523b49836ca05f8755e22a4607d86a7.zip
bcachefs: let __bch2_btree_insert() pass in flags
This patch is prep work for the following patch. Signed-off-by: Daniel Hill <daniel@gluo.nz> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.c')
-rw-r--r--fs/bcachefs/buckets.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/buckets.c b/fs/bcachefs/buckets.c
index abbd28bf9a45..32750a65d37a 100644
--- a/fs/bcachefs/buckets.c
+++ b/fs/bcachefs/buckets.c
@@ -1224,7 +1224,8 @@ not_found:
new->k.p = bkey_start_pos(p.k);
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);
+ ret = __bch2_btree_insert(trans, BTREE_ID_extents, &new->k_i,
+ 0);
}
*idx = next_idx;