summaryrefslogtreecommitdiff
path: root/include/erofs/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/erofs/cache.h')
-rw-r--r--include/erofs/cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/erofs/cache.h b/include/erofs/cache.h
index 108757a..71df811 100644
--- a/include/erofs/cache.h
+++ b/include/erofs/cache.h
@@ -53,7 +53,7 @@ static inline const int get_alignsize(int type, int *type_ret)
if (type == INODE) {
*type_ret = META;
- return sizeof(struct erofs_inode_v1);
+ return sizeof(struct erofs_inode_compact);
} else if (type == XATTR) {
*type_ret = META;
return sizeof(struct erofs_xattr_entry);