summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-01-25 14:03:21 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2016-08-28 19:16:15 -0800
commit8f534ebc0afa00e78ae2cb902aec4cad58e5e2ce (patch)
tree5f5b046dc411fe6d0bcd1672d37045a7ba0cc353
parenta011e80ba5aab3688ec2375abade36f660054c98 (diff)
bcache: bkey_reassemble XXX
-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)
{