summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/bkey.h
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2015-02-11 14:20:12 -0800
committerKent Overstreet <kmo@daterainc.com>2015-02-12 23:44:11 -0800
commitd49160a317281562f2c64f4c46455e222feb1e70 (patch)
tree7e0cf762ef026a29e643b335e00bc63b91dea945 /drivers/md/bcache/bkey.h
parentb354cf6ccab5f9934e88b8c2f91b47e2152f84b2 (diff)
bcache: Validate bkey formatbcache-dev-february
Change-Id: Ie30284518f55388925da92e7e0c4e13e77f54a90
Diffstat (limited to 'drivers/md/bcache/bkey.h')
-rw-r--r--drivers/md/bcache/bkey.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bcache/bkey.h b/drivers/md/bcache/bkey.h
index 666920d080f6..6ab9203b2fb0 100644
--- a/drivers/md/bcache/bkey.h
+++ b/drivers/md/bcache/bkey.h
@@ -57,6 +57,7 @@ void bch_bkey_format_init(struct bkey_format_state *);
void bch_bkey_format_add_key(struct bkey_format_state *, struct bkey *);
void bch_bkey_format_add_pos(struct bkey_format_state *, struct bpos);
struct bkey_format bch_bkey_format_done(struct bkey_format_state *);
+const char *bch_bkey_format_validate(struct bkey_format *);
unsigned bkey_greatest_differing_bit(const struct bkey_format *,
const struct bkey_packed *,