summaryrefslogtreecommitdiff
path: root/bcache.h
diff options
context:
space:
mode:
authorKent Overstreet <koverstreet@google.com>2011-07-26 12:24:00 -0700
committerKent Overstreet <koverstreet@google.com>2011-07-26 12:24:00 -0700
commit552595bc6eef40e464a82a2eeddc3711078abafc (patch)
treee69f330be3b8834ae599ec25406c198e826b7a19 /bcache.h
parenta02bc8df010a4f9255506ef9840d6efabe46db9d (diff)
Don't write journal buckets
Diffstat (limited to 'bcache.h')
-rw-r--r--bcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcache.h b/bcache.h
index e3c10ca..d91b3e1 100644
--- a/bcache.h
+++ b/bcache.h
@@ -38,7 +38,7 @@ struct cache_sb {
uint16_t first_bucket;
uint16_t keys; /* number of journal buckets */
- uint64_t d[512]; /* journal buckets */
+ uint64_t d[]; /* journal buckets */
};
inline uint64_t crc64(const void *_data, size_t len);