From 552595bc6eef40e464a82a2eeddc3711078abafc Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 26 Jul 2011 12:24:00 -0700 Subject: [PATCH] Don't write journal buckets --- .gitignore | 1 + bcache.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d03d148..c1743e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ make-bcache probe-bcache .* +*.o 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); -- 2.39.2