Whamcloud - gitweb
e2fsck: add support for expanding the inode size
[tools/e2fsprogs.git] / lib / ext2fs / ext2_err.et.in
index b3ada29..bab5913 100644 (file)
@@ -62,8 +62,8 @@ ec    EXT2_ET_MAGIC_E2IMAGE,
 ec     EXT2_ET_MAGIC_INODE_IO_CHANNEL,
        "Wrong magic number for inode io_channel structure"
 
-ec     EXT2_ET_MAGIC_RESERVED_9,
-       "Wrong magic number --- RESERVED_9"
+ec     EXT2_ET_MAGIC_EXTENT_HANDLE,
+       "Wrong magic number for ext4 extent handle"
 
 ec     EXT2_ET_BAD_MAGIC,
        "Bad magic number in super-block"
@@ -96,10 +96,10 @@ ec  EXT2_ET_INODE_BITMAP_READ,
        "Can't read an inode bitmap"
 
 ec     EXT2_ET_BLOCK_BITMAP_WRITE,
-       "Can't write an block bitmap"
+       "Can't write a block bitmap"
 
 ec     EXT2_ET_BLOCK_BITMAP_READ,
-       "Can't read an block bitmap"
+       "Can't read a block bitmap"
 
 ec     EXT2_ET_INODE_TABLE_WRITE,
        "Can't write an inode table"
@@ -120,7 +120,7 @@ ec  EXT2_ET_SHORT_READ,
        "Attempt to read block from filesystem resulted in short read"
 
 ec     EXT2_ET_SHORT_WRITE,
-       "Attempt to write block from filesystem resulted in short write"
+       "Attempt to write block to filesystem resulted in short write"
 
 ec     EXT2_ET_DIR_NO_SPACE,
        "No free space in the directory"
@@ -287,5 +287,298 @@ ec        EXT2_ET_TOO_MANY_INODES,
 ec     EXT2_ET_NOT_IMAGE_FILE,
        "E2image snapshot not in use"
 
-       end
+ec     EXT2_ET_RES_GDT_BLOCKS,
+       "Too many reserved group descriptor blocks"
+
+ec     EXT2_ET_RESIZE_INODE_CORRUPT,
+       "Resize inode is corrupt"
+
+ec     EXT2_ET_SET_BMAP_NO_IND,
+       "Tried to set block bmap with missing indirect block"
+
+ec     EXT2_ET_TDB_SUCCESS,
+       "TDB: Success"
+
+ec     EXT2_ET_TDB_ERR_CORRUPT,
+       "TDB: Corrupt database"
+
+ec     EXT2_ET_TDB_ERR_IO,
+       "TDB: IO Error"
+
+ec     EXT2_ET_TDB_ERR_LOCK,
+       "TDB: Locking error"
+
+ec     EXT2_ET_TDB_ERR_OOM,
+       "TDB: Out of memory"
+
+ec     EXT2_ET_TDB_ERR_EXISTS,
+       "TDB: Record exists"
+
+ec     EXT2_ET_TDB_ERR_NOLOCK,
+       "TDB: Lock exists on other keys"
+
+ec     EXT2_ET_TDB_ERR_EINVAL,
+       "TDB: Invalid parameter"
+
+ec     EXT2_ET_TDB_ERR_NOEXIST,
+       "TDB: Record does not exist"
+
+ec     EXT2_ET_TDB_ERR_RDONLY,
+       "TDB: Write not permitted"
+
+ec     EXT2_ET_DBLIST_EMPTY,
+       "Ext2fs directory block list is empty"
+
+ec     EXT2_ET_RO_BLOCK_ITERATE,
+       "Attempt to modify a block mapping via a read-only block iterator"
+
+ec     EXT2_ET_MAGIC_EXTENT_PATH,
+       "Wrong magic number for ext4 extent saved path"
+
+ec     EXT2_ET_MAGIC_GENERIC_BITMAP64,
+       "Wrong magic number for 64-bit generic bitmap"
+
+ec     EXT2_ET_MAGIC_BLOCK_BITMAP64,
+       "Wrong magic number for 64-bit block bitmap"
+
+ec     EXT2_ET_MAGIC_INODE_BITMAP64,
+       "Wrong magic number for 64-bit inode bitmap"
+
+ec     EXT2_ET_MAGIC_RESERVED_13,
+       "Wrong magic number --- RESERVED_13"
+
+ec     EXT2_ET_MAGIC_RESERVED_14,
+       "Wrong magic number --- RESERVED_14"
+
+ec     EXT2_ET_MAGIC_RESERVED_15,
+       "Wrong magic number --- RESERVED_15"
+
+ec     EXT2_ET_MAGIC_RESERVED_16,
+       "Wrong magic number --- RESERVED_16"
+
+ec     EXT2_ET_MAGIC_RESERVED_17,
+       "Wrong magic number --- RESERVED_17"
+
+ec     EXT2_ET_MAGIC_RESERVED_18,
+       "Wrong magic number --- RESERVED_18"
+
+ec     EXT2_ET_MAGIC_RESERVED_19,
+       "Wrong magic number --- RESERVED_19"
+
+ec     EXT2_ET_EXTENT_HEADER_BAD,
+       "Corrupt extent header"
+
+ec     EXT2_ET_EXTENT_INDEX_BAD,
+       "Corrupt extent index"
+
+ec     EXT2_ET_EXTENT_LEAF_BAD,
+       "Corrupt extent"
+
+ec     EXT2_ET_EXTENT_NO_SPACE,
+       "No free space in extent map"
+
+ec     EXT2_ET_INODE_NOT_EXTENT,
+       "Inode does not use extents"
+
+ec     EXT2_ET_EXTENT_NO_NEXT,
+       "No 'next' extent"
+
+ec     EXT2_ET_EXTENT_NO_PREV,
+       "No 'previous' extent"
+
+ec     EXT2_ET_EXTENT_NO_UP,
+       "No 'up' extent"
+
+ec     EXT2_ET_EXTENT_NO_DOWN,
+       "No 'down' extent"
+
+ec     EXT2_ET_NO_CURRENT_NODE,
+       "No current node"
+
+ec     EXT2_ET_OP_NOT_SUPPORTED,
+       "Ext2fs operation not supported"
+
+ec     EXT2_ET_CANT_INSERT_EXTENT,
+       "No room to insert extent in node"
+
+ec     EXT2_ET_CANT_SPLIT_EXTENT,
+       "Splitting would result in empty node"
+
+ec     EXT2_ET_EXTENT_NOT_FOUND,
+       "Extent not found"
+
+ec     EXT2_ET_EXTENT_NOT_SUPPORTED,
+       "Operation not supported for inodes containing extents"
+
+ec     EXT2_ET_EXTENT_INVALID_LENGTH,
+       "Extent length is invalid"
+
+ec     EXT2_ET_IO_CHANNEL_NO_SUPPORT_64,
+       "I/O Channel does not support 64-bit block numbers"
+
+ec     EXT2_ET_NO_MTAB_FILE,
+       "Can't check if filesystem is mounted due to missing mtab file"
+
+ec     EXT2_ET_CANT_USE_LEGACY_BITMAPS,
+       "Filesystem too large to use legacy bitmaps"
+
+ec     EXT2_ET_MMP_MAGIC_INVALID,
+       "MMP: invalid magic number"
+
+ec     EXT2_ET_MMP_FAILED,
+       "MMP: device currently active"
+
+ec     EXT2_ET_MMP_FSCK_ON,
+       "MMP: e2fsck being run"
+
+ec     EXT2_ET_MMP_BAD_BLOCK,
+       "MMP: block number beyond filesystem range"
+
+ec     EXT2_ET_MMP_UNKNOWN_SEQ,
+       "MMP: undergoing an unknown operation"
 
+ec     EXT2_ET_MMP_CHANGE_ABORT,
+       "MMP: filesystem still in use"
+
+ec     EXT2_ET_MMP_OPEN_DIRECT,
+       "MMP: open with O_DIRECT failed"
+
+ec     EXT2_ET_BAD_DESC_SIZE,
+       "Block group descriptor size incorrect"
+
+ec     EXT2_ET_INODE_CSUM_INVALID,
+       "Inode checksum does not match inode"
+
+ec     EXT2_ET_INODE_BITMAP_CSUM_INVALID,
+       "Inode bitmap checksum does not match bitmap"
+
+ec     EXT2_ET_EXTENT_CSUM_INVALID,
+       "Extent block checksum does not match extent block"
+
+ec     EXT2_ET_DIR_NO_SPACE_FOR_CSUM,
+       "Directory block does not have space for checksum"
+
+ec     EXT2_ET_DIR_CSUM_INVALID,
+       "Directory block checksum does not match directory block"
+
+ec     EXT2_ET_EXT_ATTR_CSUM_INVALID,
+       "Extended attribute block checksum does not match block"
+
+ec     EXT2_ET_SB_CSUM_INVALID,
+       "Superblock checksum does not match superblock"
+
+ec     EXT2_ET_UNKNOWN_CSUM,
+       "Unknown checksum algorithm"
+
+ec     EXT2_ET_MMP_CSUM_INVALID,
+       "MMP block checksum does not match"
+
+ec     EXT2_ET_FILE_EXISTS,
+       "Ext2 file already exists"
+
+ec     EXT2_ET_BLOCK_BITMAP_CSUM_INVALID,
+       "Block bitmap checksum does not match bitmap"
+
+ec     EXT2_ET_INLINE_DATA_CANT_ITERATE,
+       "Cannot iterate data blocks of an inode containing inline data"
+
+ec     EXT2_ET_EA_BAD_NAME_LEN,
+       "Extended attribute has an invalid name length"
+
+ec     EXT2_ET_EA_BAD_VALUE_SIZE,
+       "Extended attribute has an invalid value length"
+
+ec     EXT2_ET_BAD_EA_HASH,
+       "Extended attribute has an incorrect hash"
+
+ec     EXT2_ET_BAD_EA_HEADER,
+       "Extended attribute block has a bad header"
+
+ec     EXT2_ET_EA_KEY_NOT_FOUND,
+       "Extended attribute key not found"
+
+ec     EXT2_ET_EA_NO_SPACE,
+       "Insufficient space to store extended attribute data"
+
+ec     EXT2_ET_MISSING_EA_FEATURE,
+       "Filesystem is missing ext_attr or inline_data feature"
+
+ec     EXT2_ET_NO_INLINE_DATA,
+       "Inode doesn't have inline data"
+
+ec     EXT2_ET_INLINE_DATA_NO_BLOCK,
+       "No block for an inode with inline data"
+
+ec     EXT2_ET_INLINE_DATA_NO_SPACE,
+       "No free space in inline data"
+
+ec     EXT2_ET_MAGIC_EA_HANDLE,
+       "Wrong magic number for extended attribute structure"
+
+ec     EXT2_ET_INODE_IS_GARBAGE,
+       "Inode seems to contain garbage"
+
+ec     EXT2_ET_EA_BAD_VALUE_OFFSET,
+       "Extended attribute has an invalid value offset"
+
+ec     EXT2_ET_JOURNAL_FLAGS_WRONG,
+       "Journal flags inconsistent"
+
+ec     EXT2_ET_UNDO_FILE_CORRUPT,
+       "Undo file corrupt"
+
+ec     EXT2_ET_UNDO_FILE_WRONG,
+       "Wrong undo file for this filesystem"
+
+ec     EXT2_ET_FILESYSTEM_CORRUPTED,
+       "File system is corrupted"
+
+ec     EXT2_ET_BAD_CRC,
+       "Bad CRC detected in file system"
+
+ec     EXT2_ET_CORRUPT_JOURNAL_SB,
+       "The journal superblock is corrupt"
+
+ec     EXT2_ET_INODE_CORRUPTED,
+       "Inode is corrupted"
+
+ec     EXT2_ET_EA_INODE_CORRUPTED,
+       "Inode containing extended attribute value is corrupted"
+
+ec     EXT2_ET_NO_GDESC,
+       "Group descriptors not loaded"
+
+ec     EXT2_FILSYS_CORRUPTED,
+       "The internal ext2_filsys data structure appears to be corrupted"
+
+ec     EXT2_ET_EXTENT_CYCLE,
+       "Found cyclic loop in extent tree"
+
+ec     EXT2_ET_EXTERNAL_JOURNAL_NOSUPP,
+       "Operation not supported on an external journal"
+
+ec     EXT2_ET_SCAN_FINISHED,
+       "Scanning finished"
+
+ec     EXT2_ET_EA_BAD_MAGIC,
+       "Extended attribute block has bad magic value"
+
+ec     EXT2_ET_EA_BAD_ENTRIES,
+       "Extended attribute block has bad entries"
+
+ec     EXT2_ET_EA_TOO_BIG,
+       "Extended attribute too big for buffer"
+
+ec     EXT2_ET_EA_NAME_TOO_BIG,
+       "Extended attribute name too big for header"
+
+ec     EXT2_ET_EA_BAD_NAME,
+       "Extended attribute name is bad"
+
+ec     EXT2_ET_EA_NAME_NOT_FOUND,
+       "Extended attribute name not found"
+
+ec     EXT2_ET_EA_NAME_EXISTS,
+       "Extended attribute name already exists"
+
+       end