summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-20 12:34:05 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-20 12:34:05 +0200
commit83dff7f43154cd41e4d2e5831060a2d2ddc6596e (patch)
treea9c463cd73f5958857d3c2d687ff8058382c8194 /include
parent526b8347906a18d756386092fafa0b42ba0b4563 (diff)
lsattr: support more ext2 flags
function old new delta e2attr_flags_lname 214 285 +71 e2attr_flags_value 52 80 +28 e2attr_flags_sname 14 21 +7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/0 up/down: 106/0) Total: 106 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/bb_e2fs_defs.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/bb_e2fs_defs.h b/include/bb_e2fs_defs.h
index 2d72288ed..608cbf0b0 100644
--- a/include/bb_e2fs_defs.h
+++ b/include/bb_e2fs_defs.h
@@ -182,11 +182,12 @@ struct ext2_dx_countlimit {
#define EXT2_NOTAIL_FL 0x00008000 /* file tail should not be merged */
#define EXT2_DIRSYNC_FL 0x00010000 /* Synchronous directory modifications */
#define EXT2_TOPDIR_FL 0x00020000 /* Top of directory hierarchies*/
-#define EXT3_EXTENTS_FL 0x00080000 /* Inode uses extents */
-#define EXT2_RESERVED_FL 0x80000000 /* reserved for ext2 lib */
-
-#define EXT2_FL_USER_VISIBLE 0x0003DFFF /* User visible flags */
-#define EXT2_FL_USER_MODIFIABLE 0x000080FF /* User modifiable flags */
+#define EXT2_EXTENT_FL 0x00080000 /* Extents */
+#define EXT2_VERITY_FL 0x00100000
+#define EXT2_NOCOW_FL 0x00800000 /* Do not cow file */
+#define EXT2_INLINE_DATA_FL 0x10000000
+#define EXT2_PROJINHERIT_FL 0x20000000
+#define EXT2_CASEFOLD_FL 0x40000000
/*
* ioctl commands