summaryrefslogtreecommitdiff
path: root/fs/bcachefs/bkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bcachefs/bkey.h')
-rw-r--r--fs/bcachefs/bkey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bkey.h b/fs/bcachefs/bkey.h
index f18a8017bc60..46815b771d54 100644
--- a/fs/bcachefs/bkey.h
+++ b/fs/bcachefs/bkey.h
@@ -317,6 +317,7 @@ static inline struct bkey_s __bkey_disassemble(const struct bkey_format *f,
return (struct bkey_s) { .k = u, .v = bkeyp_val(f, k), };
}
+/* XXX: error prone, can't check length of @dst */
static inline void bkey_reassemble(struct bkey_i *dst,
struct bkey_s_c src)
{