ext2fs: Add defines for some missing ext4 feature flags.
These are currently unused in our implementation and some even appear to have not been implemented yet on linux but it is good to keep them for reference. Obtained from: NetBSD (CVS Rev. 1.41) MFC after: 1 month
This commit is contained in:
parent
a6734e9812
commit
5767604b3a
@ -206,6 +206,7 @@ struct csum {
|
||||
#define EXT2F_COMPAT_HASJOURNAL 0x0004
|
||||
#define EXT2F_COMPAT_RESIZE 0x0010
|
||||
#define EXT2F_COMPAT_DIRHASHINDEX 0x0020
|
||||
#define EXT2F_COMPAT_SPARSESUPER2 0x0200
|
||||
|
||||
#define EXT2F_ROCOMPAT_SPARSESUPER 0x0001
|
||||
#define EXT2F_ROCOMPAT_LARGEFILE 0x0002
|
||||
@ -214,6 +215,11 @@ struct csum {
|
||||
#define EXT2F_ROCOMPAT_GDT_CSUM 0x0010
|
||||
#define EXT2F_ROCOMPAT_DIR_NLINK 0x0020
|
||||
#define EXT2F_ROCOMPAT_EXTRA_ISIZE 0x0040
|
||||
#define EXT2F_ROCOMPAT_QUOTA 0x0100
|
||||
#define EXT2F_ROCOMPAT_BIGALLOC 0x0200
|
||||
#define EXT2F_ROCOMPAT_METADATA_CKSUM 0x0400
|
||||
#define EXT2F_ROCOMPAT_READONLY 0x1000
|
||||
#define EXT2F_ROCOMPAT_PROJECT 0x2000
|
||||
|
||||
#define EXT2F_INCOMPAT_COMP 0x0001
|
||||
#define EXT2F_INCOMPAT_FTYPE 0x0002
|
||||
@ -223,6 +229,12 @@ struct csum {
|
||||
#define EXT2F_INCOMPAT_64BIT 0x0080
|
||||
#define EXT2F_INCOMPAT_MMP 0x0100
|
||||
#define EXT2F_INCOMPAT_FLEX_BG 0x0200
|
||||
#define EXT2F_INCOMPAT_EA_INODE 0x0400
|
||||
#define EXT2F_INCOMPAT_DIRDATA 0x1000
|
||||
#define EXT2F_INCOMPAT_CSUM_SEED 0x2000
|
||||
#define EXT2F_INCOMPAT_LARGEDIR 0x4000
|
||||
#define EXT2F_INCOMPAT_INLINE_DATA 0x8000
|
||||
#define EXT2F_INCOMPAT_ENCRYPT 0x10000
|
||||
|
||||
/*
|
||||
* Features supported in this implementation
|
||||
|
Loading…
Reference in New Issue
Block a user