aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2010-01-25 03:31:32 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-01-25 03:31:32 -0500
commitf710b4b96ba292dfed2153afc47e9063b0abfd89 (patch)
treefdfdc979eb03c41c5785b4153e6337d61a4c89e2
parent19f5fb7ad679bb361222c7916086435020c37cce (diff)
ext4: Reserve INCOMPAT_EA_INODE and INCOMPAT_DIRDATA feature codepoints
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--fs/ext4/ext4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index ffe1334c891e..61cf3b3cde4e 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -284,6 +284,7 @@ struct flex_groups {
284#define EXT4_TOPDIR_FL 0x00020000 /* Top of directory hierarchies*/ 284#define EXT4_TOPDIR_FL 0x00020000 /* Top of directory hierarchies*/
285#define EXT4_HUGE_FILE_FL 0x00040000 /* Set to each huge file */ 285#define EXT4_HUGE_FILE_FL 0x00040000 /* Set to each huge file */
286#define EXT4_EXTENTS_FL 0x00080000 /* Inode uses extents */ 286#define EXT4_EXTENTS_FL 0x00080000 /* Inode uses extents */
287#define EXT4_EA_INODE_FL 0x00200000 /* Inode used for large EA */
287#define EXT4_RESERVED_FL 0x80000000 /* reserved for ext4 lib */ 288#define EXT4_RESERVED_FL 0x80000000 /* reserved for ext4 lib */
288 289
289#define EXT4_FL_USER_VISIBLE 0x000BDFFF /* User visible flags */ 290#define EXT4_FL_USER_VISIBLE 0x000BDFFF /* User visible flags */
@@ -1144,6 +1145,8 @@ static inline void ext4_clear_inode_state(struct inode *inode, int bit)
1144#define EXT4_FEATURE_INCOMPAT_64BIT 0x0080 1145#define EXT4_FEATURE_INCOMPAT_64BIT 0x0080
1145#define EXT4_FEATURE_INCOMPAT_MMP 0x0100 1146#define EXT4_FEATURE_INCOMPAT_MMP 0x0100
1146#define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200 1147#define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200
1148#define EXT4_FEATURE_INCOMPAT_EA_INODE 0x0400 /* EA in inode */
1149#define EXT4_FEATURE_INCOMPAT_DIRDATA 0x1000 /* data in dirent */
1147 1150
1148#define EXT4_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_EXT_ATTR 1151#define EXT4_FEATURE_COMPAT_SUPP EXT2_FEATURE_COMPAT_EXT_ATTR
1149#define EXT4_FEATURE_INCOMPAT_SUPP (EXT4_FEATURE_INCOMPAT_FILETYPE| \ 1152#define EXT4_FEATURE_INCOMPAT_SUPP (EXT4_FEATURE_INCOMPAT_FILETYPE| \