summaryrefslogtreecommitdiff
path: root/e2fsck
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsck')
-rw-r--r--e2fsck/ChangeLog6
-rw-r--r--e2fsck/message.c8
-rw-r--r--e2fsck/mtrace.h2
-rw-r--r--e2fsck/super.c2
4 files changed, 13 insertions, 5 deletions
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index df1d0c2a..4d128a23 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,10 +1,14 @@
2001-01-12 Theodore Ts'o <tytso@valinux.com>
+ * message.c (special_inode_name): Add more special inode names
+ (From Andreas Dilger)
+
* util.c (fatal_error): Check to make sure the io_manager data
structure is sane before trying to flush the io_channel.
(From Andreas Dilger)
- * pass2.c: Minor whitespace cleanups, from Andreas Dilger.
+ * mtrace.h, super.c, pass2.c: Minor whitespace cleanups, from
+ Andreas Dilger.
* journal.c (e2fsck_journal_fix_bad_inode): Set pctx->ino to the
bad journal number.
diff --git a/e2fsck/message.c b/e2fsck/message.c
index 0bb666a5..26a7c023 100644
--- a/e2fsck/message.c
+++ b/e2fsck/message.c
@@ -130,7 +130,7 @@ static const char *abbrevs[] = {
/*
* Give more user friendly names to the "special" inodes.
*/
-#define num_special_inodes 7
+#define num_special_inodes 11
static const char *special_inode_name[] =
{
N_("<The NULL inode>"), /* 0 */
@@ -139,7 +139,11 @@ static const char *special_inode_name[] =
N_("<The ACL index inode>"), /* 3 */
N_("<The ACL data inode>"), /* 4 */
N_("<The boot loader inode>"), /* 5 */
- N_("<The undelete directory inode>") /* 6 */
+ N_("<The undelete directory inode>"), /* 6 */
+ N_("<The group descriptor inode>"), /* 7 */
+ N_("<The journal inode>"), /* 8 */
+ N_("<Reserved inode 9>"), /* 9 */
+ N_("<Reserved inode 10>"), /* 10 */
};
/*
diff --git a/e2fsck/mtrace.h b/e2fsck/mtrace.h
index b30ba7e9..2ed20eb0 100644
--- a/e2fsck/mtrace.h
+++ b/e2fsck/mtrace.h
@@ -228,4 +228,4 @@ extern struct mstats mstats __P ((void));
}
#endif
-#endif /* malloc.h */
+#endif /* mtrace.h */
diff --git a/e2fsck/super.c b/e2fsck/super.c
index 1cc9f7b9..352a6b43 100644
--- a/e2fsck/super.c
+++ b/e2fsck/super.c
@@ -165,7 +165,7 @@ static int release_inode_block(ext2_filsys fs,
* not deleted.
*/
static int release_inode_blocks(e2fsck_t ctx, ext2_ino_t ino,
- struct ext2_inode *inode, char* block_buf,
+ struct ext2_inode *inode, char *block_buf,
struct problem_context *pctx)
{
ext2_filsys fs = ctx->fs;