diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-22 02:15:07 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:45 +0300 |
commit | 77671e8fffdd09f37de2ed0cdcdc92069f3597e8 (patch) | |
tree | 8398c79408be0f0914a4bcb14acca0c2adac4904 /fs/bcachefs/keylist.c | |
parent | 005def8ff16885743b9d711fe19fc039c0254eed (diff) | |
download | linux-77671e8fffdd09f37de2ed0cdcdc92069f3597e8.tar.xz |
bcachefs: Move bkey bkey_unpack_key() to bkey.h
Long ago, bkey_unpack_key() was added to bset.h instead of bkey.h
because bkey.h didn't include btree_types.h, which it needs for the
compiled unpack function.
This patch finally moves it to the proper location.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/keylist.c')
-rw-r--r-- | fs/bcachefs/keylist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/keylist.c b/fs/bcachefs/keylist.c index cda77835b9ea..5e85055b0f93 100644 --- a/fs/bcachefs/keylist.c +++ b/fs/bcachefs/keylist.c @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "bcachefs.h" +#include "bkey.h" #include "keylist.h" int bch2_keylist_realloc(struct keylist *l, u64 *inline_u64s, |