Don't write journal buckets

This commit is contained in:
Kent Overstreet 2011-07-26 12:24:00 -07:00
parent a02bc8df01
commit 552595bc6e
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
make-bcache
probe-bcache
.*
*.o

View File

@ -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);