f2fs: renew value of F2FS_FEATURE_*
Define F2FS_FEATURE_* macro w/ 32-bits value rather than 16-bits value. No logic changes. Signed-off-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
478d7100f4
commit
77e820ea73
@ -186,21 +186,21 @@ struct f2fs_mount_info {
|
||||
unsigned char noextensions[COMPRESS_EXT_NUM][F2FS_EXTENSION_LEN]; /* extensions */
|
||||
};
|
||||
|
||||
#define F2FS_FEATURE_ENCRYPT 0x0001
|
||||
#define F2FS_FEATURE_BLKZONED 0x0002
|
||||
#define F2FS_FEATURE_ATOMIC_WRITE 0x0004
|
||||
#define F2FS_FEATURE_EXTRA_ATTR 0x0008
|
||||
#define F2FS_FEATURE_PRJQUOTA 0x0010
|
||||
#define F2FS_FEATURE_INODE_CHKSUM 0x0020
|
||||
#define F2FS_FEATURE_FLEXIBLE_INLINE_XATTR 0x0040
|
||||
#define F2FS_FEATURE_QUOTA_INO 0x0080
|
||||
#define F2FS_FEATURE_INODE_CRTIME 0x0100
|
||||
#define F2FS_FEATURE_LOST_FOUND 0x0200
|
||||
#define F2FS_FEATURE_VERITY 0x0400
|
||||
#define F2FS_FEATURE_SB_CHKSUM 0x0800
|
||||
#define F2FS_FEATURE_CASEFOLD 0x1000
|
||||
#define F2FS_FEATURE_COMPRESSION 0x2000
|
||||
#define F2FS_FEATURE_RO 0x4000
|
||||
#define F2FS_FEATURE_ENCRYPT 0x00000001
|
||||
#define F2FS_FEATURE_BLKZONED 0x00000002
|
||||
#define F2FS_FEATURE_ATOMIC_WRITE 0x00000004
|
||||
#define F2FS_FEATURE_EXTRA_ATTR 0x00000008
|
||||
#define F2FS_FEATURE_PRJQUOTA 0x00000010
|
||||
#define F2FS_FEATURE_INODE_CHKSUM 0x00000020
|
||||
#define F2FS_FEATURE_FLEXIBLE_INLINE_XATTR 0x00000040
|
||||
#define F2FS_FEATURE_QUOTA_INO 0x00000080
|
||||
#define F2FS_FEATURE_INODE_CRTIME 0x00000100
|
||||
#define F2FS_FEATURE_LOST_FOUND 0x00000200
|
||||
#define F2FS_FEATURE_VERITY 0x00000400
|
||||
#define F2FS_FEATURE_SB_CHKSUM 0x00000800
|
||||
#define F2FS_FEATURE_CASEFOLD 0x00001000
|
||||
#define F2FS_FEATURE_COMPRESSION 0x00002000
|
||||
#define F2FS_FEATURE_RO 0x00004000
|
||||
|
||||
#define __F2FS_HAS_FEATURE(raw_super, mask) \
|
||||
((raw_super->feature & cpu_to_le32(mask)) != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user