Whamcloud - gitweb
Add RAID stride support to resize2fs
[tools/e2fsprogs.git] / e2fsck / problem.h
index f4a87d2..12f29ec 100644 (file)
@@ -172,6 +172,27 @@ struct problem_context {
 /* Run journal anyway by default */
 #define PR_0_JOURNAL_RUN_DEFAULT               0x00002C
 
+/* Backup journal inode blocks */
+#define PR_0_BACKUP_JNL                                0x00002D
+
+/* Reserved blocks w/o resize_inode */
+#define PR_0_NONZERO_RESERVED_GDT_BLOCKS       0x00002E
+
+/* Resize_inode not enabled, but resize inode is non-zero */
+#define PR_0_CLEAR_RESIZE_INODE                        0x00002F
+
+/* Resize inode invalid */
+#define PR_0_RESIZE_INODE_INVALID              0x000030
+
+/* Last mount time is in the future */
+#define PR_0_FUTURE_SB_LAST_MOUNT              0x000031
+
+/* Last write time is in the future */
+#define PR_0_FUTURE_SB_LAST_WRITE              0x000032
+
+/* Superblock hint for external journal incorrect */
+#define PR_0_EXTERNAL_JOURNAL_HINT             0x000033
+
 /*
  * Pass 1 errors
  */
@@ -404,6 +425,30 @@ struct problem_context {
 /* HTREE too deep */   
 #define PR_1_HTREE_DEPTH               0x01004C
 
+/* Bad block has indirect block that conflicts with filesystem block */
+#define PR_1_BB_FS_BLOCK               0x01004D
+
+/* Resize inode failed */
+#define PR_1_RESIZE_INODE_CREATE       0x01004E
+
+/* inode->i_size is too long */        
+#define PR_1_EXTRA_ISIZE               0x01004F
+
+/* attribute name is too long */
+#define PR_1_ATTR_NAME_LEN             0x010050
+
+/* wrong EA value offset */
+#define PR_1_ATTR_VALUE_OFFSET         0x010051
+
+/* wrong EA blocknumber */
+#define PR_1_ATTR_VALUE_BLOCK          0x010052
+
+/* wrong EA value size */
+#define PR_1_ATTR_VALUE_SIZE           0x010053
+
+/* wrong EA hash value */
+#define PR_1_ATTR_HASH                 0x010054
+
 /*
  * Pass 1b errors
  */
@@ -622,7 +667,7 @@ struct problem_context {
 #define PR_2_HTREE_CLEAR       0x020038
 
 /* Clear the htree flag forcibly */
-#define PR_2_HTREE_FCLR                0x020039
+/* #define PR_2_HTREE_FCLR     0x020039 */
 
 /* Bad block in htree interior node */
 #define PR_2_HTREE_BADBLK      0x02003A
@@ -643,7 +688,16 @@ struct problem_context {
 #define PR_2_HTREE_HASH_ORDER  0x02003F
 
 /* Node in HTREE directory has bad depth */
-#define PR_2_HTREE_BAD_DEPTH   0x020040        
+#define PR_2_HTREE_BAD_DEPTH   0x020040
+
+/* Duplicate directory entry found */
+#define PR_2_DUPLICATE_DIRENT  0x020041
+
+/* Non-unique filename found */
+#define PR_2_NON_UNIQUE_FILE   0x020042
+
+/* Duplicate directory entry found */
+#define PR_2_REPORT_DUP_DIRENT 0x020043
 
 /*
  * Pass 3 errors