linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] dumpe2fs: print journal's s_errno field if it is non-zero
@ 2012-06-01  0:14 Theodore Ts'o
  2012-06-01  0:14 ` [PATCH 2/4] e2fsck: handle an already recovered journal with a non-zero s_error field Theodore Ts'o
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Theodore Ts'o @ 2012-06-01  0:14 UTC (permalink / raw)
  To: Ext4 Developers List; +Cc: Theodore Ts'o

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
---
 misc/dumpe2fs.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/misc/dumpe2fs.c b/misc/dumpe2fs.c
index 8f4f2e4..8be5764 100644
--- a/misc/dumpe2fs.c
+++ b/misc/dumpe2fs.c
@@ -382,6 +382,9 @@ static void print_inline_journal_information(ext2_filsys fs)
 	       (unsigned int)ntohl(jsb->s_maxlen),
 	       (unsigned int)ntohl(jsb->s_sequence),
 	       (unsigned int)ntohl(jsb->s_start));
+	if (jsb->s_errno != 0)
+		printf(_("Journal errno:            %d\n"),
+		       (int) ntohl(jsb->s_errno));
 }
 
 static void print_journal_information(ext2_filsys fs)
-- 
1.7.10.2.552.gaa3bb87


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-01  0:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-01  0:14 [PATCH 1/4] dumpe2fs: print journal's s_errno field if it is non-zero Theodore Ts'o
2012-06-01  0:14 ` [PATCH 2/4] e2fsck: handle an already recovered journal with a non-zero s_error field Theodore Ts'o
2012-06-01  0:14 ` [PATCH 3/4] tests: add new test to validate errno handling in the journal superblock Theodore Ts'o
2012-06-01  0:14 ` [PATCH 4/4] tests: fix the e2fsck test script to handle a missing test name Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).