Whamcloud - gitweb
Add new TDB error codes
authorTheodore Ts'o <tytso@mit.edu>
Fri, 6 Apr 2007 17:50:48 +0000 (13:50 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 6 Apr 2007 17:50:48 +0000 (13:50 -0400)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/ChangeLog
lib/ext2fs/ext2_err.et.in

index caf04f3..a86f157 100644 (file)
@@ -1,5 +1,7 @@
 2007-04-06  Theodore Tso  <tytso@mit.edu>
 
+       * ext2_err.et.in: Add new TDB error codes.
+
        * icount.c, Makefile.in: Add a regression test suite for the
                icount abstraction.
 
index 907b475..eda4bb4 100644 (file)
@@ -296,5 +296,35 @@ ec EXT2_ET_RESIZE_INODE_CORRUPT,
 ec     EXT2_ET_SET_BMAP_NO_IND,
        "Missing indirect block not present"
 
+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"
+
        end