From: alexey.lyashkov@gmail.com
To: linux-ext4@vger.kernel.org
Cc: Alexey Lyashkov <alexey.lyashkov@gmail.com>
Subject: [PATCH 2/3] Fix panic with journal superblock flags printing.
Date: Mon, 19 Nov 2018 12:16:49 +0300 [thread overview]
Message-ID: <20181119091650.81803-3-alexey.lyashkov@gmail.com> (raw)
In-Reply-To: <20181119091650.81803-1-alexey.lyashkov@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 44 bytes --]
This is a multi-part message in MIME format.
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
Signed-off-by: Alexey Lyashkov <alexey.lyashkov@gmail.com>
---
debugfs/logdump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-Fix-panic-with-journal-superblock-flags-printing.patch --]
[-- Type: text/x-patch; name="0002-Fix-panic-with-journal-superblock-flags-printing.patch", Size: 427 bytes --]
diff --git a/debugfs/logdump.c b/debugfs/logdump.c
index 84108a6e..c88f6f9c 100644
--- a/debugfs/logdump.c
+++ b/debugfs/logdump.c
@@ -388,9 +388,9 @@ static void dump_journal(char *cmdname, FILE *out_file,
if (retval)
return;
- if (dump_super) {
+ if (dump_all || dump_super) {
e2p_list_journal_super(out_file, jsb_buffer,
- current_fs->blocksize, 0);
+ 1024, 0);
fputc('\n', out_file);
}
next prev parent reply other threads:[~2018-11-19 19:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-19 9:16 [PATCH 0/3] debugfs fixes alexey.lyashkov
2018-11-19 9:16 ` [PATCH 1/3] block number output fix alexey.lyashkov
2018-11-21 23:33 ` Theodore Y. Ts'o
2018-11-19 9:16 ` alexey.lyashkov [this message]
2018-11-21 23:54 ` [PATCH 2/3] Fix panic with journal superblock flags printing Theodore Y. Ts'o
2018-11-22 4:24 ` Alexey Lyashkov
2018-11-22 21:23 ` Theodore Y. Ts'o
2018-11-19 9:16 ` [PATCH 3/3] add support to check a journal checksum v1 while journal dump alexey.lyashkov
2018-11-22 0:07 ` Theodore Y. Ts'o
2018-11-22 5:08 ` Alexey Lyashkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181119091650.81803-3-alexey.lyashkov@gmail.com \
--to=alexey.lyashkov@gmail.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).