summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--bcache.h2
2 files changed, 2 insertions, 1 deletions
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);