Some operating systems may not define EBADMSG and EUCLEAN, so for
better portability use our own private error code numbers.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
#endif /* DEBUGFS */
#ifndef EFSBADCRC
-#define EFSBADCRC EBADMSG /* Bad CRC detected */
+#define EFSBADCRC EXT2_ET_BAD_CRC
#endif
#ifndef EFSCORRUPTED
-#define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */
+#define EFSCORRUPTED EXT2_ET_FILESYSTEM_CORRUPTED
#endif
/* recovery.c */
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"
+
end