summaryrefslogtreecommitdiff
path: root/libbcache/alloc_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-10-03 19:22:17 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2017-02-28 03:05:38 -0900
commita5b5eba7f788bb77cf57f9c94f3474a2d439ab0b (patch)
tree278813d1b1a9024174531376d41a2ba04a3b27f6 /libbcache/alloc_types.h
parente4d1c93d85a5b86c04599bfc9f658308d741fd41 (diff)
New on disk format - encryption
Diffstat (limited to 'libbcache/alloc_types.h')
-rw-r--r--libbcache/alloc_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcache/alloc_types.h b/libbcache/alloc_types.h
index 337b6e46..fbe8b75c 100644
--- a/libbcache/alloc_types.h
+++ b/libbcache/alloc_types.h
@@ -56,7 +56,7 @@ struct cache_group {
struct {
u64 weight;
struct cache *dev;
- } d[MAX_CACHES_PER_SET];
+ } d[BCH_SB_MEMBERS_MAX];
};
/* Enough for 16 cache devices, 2 tiers and some left over for pipelining */