@@ -51,6 +51,7 @@ static struct flags_name flags_array[] = {
{ EXT4_HUGE_FILE_FL, "h", "Huge_file" },
{ FS_NOCOW_FL, "C", "No_COW" },
{ EXT4_INLINE_DATA_FL, "N", "Inline_Data" },
+ { EXT4_ITREE_FL, "r", "Has_Itree" },
{ 0, NULL, NULL }
};
@@ -320,6 +320,7 @@ struct ext2_dx_tail {
#define EXT4_SNAPFILE_DELETED_FL 0x04000000 /* Snapshot is being deleted */
#define EXT4_SNAPFILE_SHRUNK_FL 0x08000000 /* Snapshot shrink has completed */
#define EXT4_INLINE_DATA_FL 0x10000000 /* Inode has inline data */
+#define EXT4_ITREE_FL 0x20000000 /* Directory has itree */
#define EXT2_RESERVED_FL 0x80000000 /* reserved for ext2 lib */
#define EXT2_FL_USER_VISIBLE 0x004BDFFF /* User visible flags */
This commit reserves an inode flag for the itree. EXT4_ITREE_FL 0x20000000 Signed-off-by: Radek Pazdera <rpazdera@redhat.com> --- lib/e2p/pf.c | 1 + lib/ext2fs/ext2_fs.h | 1 + 2 files changed, 2 insertions(+)