diff options
author | Theodore Ts'o <tytso@mit.edu> | 1997-10-25 04:19:14 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1997-10-25 04:19:14 +0000 |
commit | 71b97145a3c0cadd6394852a56998ea14bf59cb7 (patch) | |
tree | 02979b5339c6c3c1c101549500e301eccf8e61d9 /lib/ext2fs | |
parent | c555aebde40afdc0d15d674f2c81c0e05cfded3f (diff) | |
download | e2fsprogs-71b97145a3c0cadd6394852a56998ea14bf59cb7.tar.gz |
ext2_err.et.in:
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.
Diffstat (limited to 'lib/ext2fs')
-rw-r--r-- | lib/ext2fs/ext2_err.et.in | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/lib/ext2fs/ext2_err.et.in b/lib/ext2fs/ext2_err.et.in index a51825c8..b8452ac1 100644 --- a/lib/ext2fs/ext2_err.et.in +++ b/lib/ext2fs/ext2_err.et.in @@ -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 |