Whamcloud - gitweb
ext2_err.et.in:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 25 Oct 1997 04:19:14 +0000 (04:19 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 25 Oct 1997 04:19:14 +0000 (04:19 +0000)
  ext2_err.et.in: Added new error codes: EXT2_NO_MEMORY,
   EXT2_INVALID_ARGUMENT, EXT2_BLOCK_ALLOC_FAIL, EXT2_INODE_ALLOC_FAIL,
   EXT2_NOT_DIRECTORY
  Change various library files to use these errors instead of EINVAL,
  ENOENT, etc.

lib/ext2fs/ext2_err.et.in

index a51825c..b8452ac 100644 (file)
@@ -50,8 +50,8 @@ ec    EXT2_ET_MAGIC_DBLIST,
 ec     EXT2_ET_MAGIC_ICOUNT,
        "Wrong magic number for icount structure"
 
-ec     EXT2_ET_MAGIC_RESERVED_5,
-       "Wrong magic number --- RESERVED_5"
+ec     EXT2_ET_MAGIC_PQ_IO_CHANNEL,
+       "Wrong magic number for Powerquest io_channel structure"
 
 ec     EXT2_ET_MAGIC_RESERVED_6,
        "Wrong magic number --- RESERVED_6"
@@ -227,4 +227,25 @@ ec EXT2_ET_RO_UNSUPP_FEATURE,
 ec     EXT2_IO_LLSEEK_FAILED,
        "IO Channel failed to seek on read or write"
 
+ec     EXT2_NO_MEMORY,
+       "Memory allocation failed"
+
+ec     EXT2_INVALID_ARGUMENT,
+       "Invalid argument passed to ext2 library"
+
+ec     EXT2_BLOCK_ALLOC_FAIL,
+       "Could not allocate block in ext2 filesystem"
+
+ec     EXT2_INODE_ALLOC_FAIL,
+       "Could not allocate inode in ext2 filesystem"
+
+ec     EXT2_NO_DIRECTORY,
+       "Ext2 inode is not a directory"
+
+ec     EXT2_TOO_MANY_REFS,
+       "Too many references in table"
+
+ec     EXT2_FILE_NOT_FOUND,
+       "File not found by ext2_lookup"
+
        end