diff options
Diffstat (limited to 'libibex/block.h')
-rw-r--r-- | libibex/block.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libibex/block.h b/libibex/block.h index deb6494231..6de33281b4 100644 --- a/libibex/block.h +++ b/libibex/block.h @@ -27,6 +27,9 @@ struct _root { blockid_t names; /* root of names index */ char flags; /* state flags */ + + /* makes structure fill up to 1024 bytes */ + char dummy[1024 - (sizeof(char)*5) - (sizeof(blockid_t)*5)]; }; #define IBEX_ROOT_SYNCF (1<<0) /* file is synced */ @@ -74,11 +77,11 @@ struct _memcache { GHashTable *index; /* blockid->memblock mapping */ int fd; /* file fd */ - int flags; /* flags (mirror of root->flags) */ - #ifdef IBEX_STATS GHashTable *stats; #endif + struct _root root; /* root block */ + /* temporary here */ struct _IBEXWord *words; /* word index */ }; |