bcachefs: Inline bch2_bkey_format_add_key()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 24 Nov 2022 08:38:31 +0000 (03:38 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:46 +0000 (17:09 -0400)
commit0aba9eba76442d6887dc98924bb8c0396a79c984
tree2b11a9cc936881a251d063ecfaa74d56ca0d07bd
parenta2519a9688d3eeb6c4b2df3ab80b70e62458528d
bcachefs: Inline bch2_bkey_format_add_key()

This is only called in two places, and when it's used we use it in a
tight loop - it's definitely worth inlining.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bkey.c
fs/bcachefs/bkey.h