[PATCH 2/3] ubifs: change type of ubifs_inode's compr_type to unsigend:16
Hyunchul Lee
hyc.lee at gmail.com
Mon Feb 27 21:16:48 PST 2017
From: Hyunchul Lee <cheol.lee at lge.com>
if new compression is added, UBIFS_COMPR_TYPES_CNT becomes greater than 3.
so type "unsigned:2" of compr_type should be changed.
Signed-off-by: Hyunchul Lee <cheol.lee at lge.com>
---
fs/ubifs/ubifs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h
index ca72382..2a1e857 100644
--- a/fs/ubifs/ubifs.h
+++ b/fs/ubifs/ubifs.h
@@ -394,7 +394,7 @@ struct ubifs_inode {
unsigned int dirty:1;
unsigned int xattr:1;
unsigned int bulk_read:1;
- unsigned int compr_type:2;
+ unsigned int compr_type:16;
struct mutex ui_mutex;
spinlock_t ui_lock;
loff_t synced_i_size;
--
1.9.1
More information about the linux-mtd
mailing list