diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-10-24 02:50:01 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:30 +0300 |
commit | c4e065c23c4ad464be2fb1c4dfa70090cc3d0c66 (patch) | |
tree | e855b23a51f200f1ceea907c66b48c255124aafe /fs/bcachefs/bkey.c | |
parent | 928c839cc949f7cb0b7cf09e1151e22681a4c338 (diff) | |
download | linux-c4e065c23c4ad464be2fb1c4dfa70090cc3d0c66.tar.xz |
bcachefs: More bset.c microoptimization
Improve a few paper cuts that've shown up during profiling.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bkey.c')
-rw-r--r-- | fs/bcachefs/bkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/bkey.c b/fs/bcachefs/bkey.c index 8b3c9ae8d266..dd551cc3a162 100644 --- a/fs/bcachefs/bkey.c +++ b/fs/bcachefs/bkey.c @@ -329,7 +329,7 @@ bool bch2_bkey_pack_key(struct bkey_packed *out, const struct bkey *in, void bch2_bkey_unpack(const struct btree *b, struct bkey_i *dst, const struct bkey_packed *src) { - dst->k = bkey_unpack_key(b, src); + __bkey_unpack_key(b, &dst->k, src); memcpy_u64s(&dst->v, bkeyp_val(&b->format, src), |