summaryrefslogtreecommitdiff
path: root/fs/bcachefs/btree_update_interior.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-03 02:33:48 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-05 21:12:18 +0300
commita8958a1a95b28e16dbca0654eeb6aa458bb1d3b0 (patch)
treee9d47571346a9d1779817c40118b30d048fc0608 /fs/bcachefs/btree_update_interior.h
parent103ffe9aaf85660f40c8b68797a374b80b29b91d (diff)
downloadlinux-a8958a1a95b28e16dbca0654eeb6aa458bb1d3b0.tar.xz
bcachefs: bkey_copy() is no longer a macro
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.h')
-rw-r--r--fs/bcachefs/btree_update_interior.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update_interior.h b/fs/bcachefs/btree_update_interior.h
index d92b3cf5f5e0..c2ffeb30884d 100644
--- a/fs/bcachefs/btree_update_interior.h
+++ b/fs/bcachefs/btree_update_interior.h
@@ -303,7 +303,7 @@ static inline void push_whiteout(struct bch_fs *c, struct btree *b,
k.needs_whiteout = true;
b->whiteout_u64s += k.u64s;
- bkey_copy(unwritten_whiteouts_start(c, b), &k);
+ bkey_p_copy(unwritten_whiteouts_start(c, b), &k);
}
/*