summaryrefslogtreecommitdiff
path: root/include/erofs/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/erofs/internal.h')
-rw-r--r--include/erofs/internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/erofs/internal.h b/include/erofs/internal.h
index b7ce6f8..07a32d2 100644
--- a/include/erofs/internal.h
+++ b/include/erofs/internal.h
@@ -52,7 +52,7 @@ struct erofs_sb_info {
erofs_blk_t meta_blkaddr;
erofs_blk_t xattr_blkaddr;
- u32 requirements;
+ u32 feature_incompat;
};
/* global sbi */
@@ -82,7 +82,7 @@ struct erofs_inode {
char i_srcpath[PATH_MAX + 1];
- unsigned char data_mapping_mode;
+ unsigned char datalayout;
unsigned char inode_isize;
/* inline tail-end packing size */
unsigned short idata_size;
@@ -100,7 +100,7 @@ struct erofs_inode {
static inline bool is_inode_layout_compression(struct erofs_inode *inode)
{
- return erofs_inode_is_data_compressed(inode->data_mapping_mode);
+ return erofs_inode_is_data_compressed(inode->datalayout);
}
#define IS_ROOT(x) ((x) == (x)->i_parent)