summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/buckets.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-05-01 01:34:28 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-05-08 23:29:23 +0200
commit1f2f92ec3f2e5802c2870d0d34ccfa66ae9216ad (patch)
treeff70d5b9c5d92f0f071a9feb90769249e27dac5b /fs/bcachefs/buckets.c
parentbcachefs: bch2_dev_iterate() (diff)
downloadlinux-1f2f92ec3f2e5802c2870d0d34ccfa66ae9216ad.tar.xz
linux-1f2f92ec3f2e5802c2870d0d34ccfa66ae9216ad.zip
bcachefs: PTR_BUCKET_POS() now takes bch_dev
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets.c')
-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 68f2d5952abd..4774f9c7f060 100644
--- a/fs/bcachefs/buckets.c
+++ b/fs/bcachefs/buckets.c
@@ -977,7 +977,7 @@ static int bch2_trigger_pointer(struct btree_trans *trans,
struct bpos bucket;
struct bch_backpointer bp;
- bch2_extent_ptr_to_bp(trans->c, btree_id, level, k, p, entry, &bucket, &bp);
+ bch2_extent_ptr_to_bp(trans->c, ca, btree_id, level, k, p, entry, &bucket, &bp);
*sectors = insert ? bp.bucket_len : -((s64) bp.bucket_len);
if (flags & BTREE_TRIGGER_transactional) {