diff options
author | Catherine Hoang <catherine.hoang@oracle.com> | 2021-10-07 00:26:41 +0000 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2021-10-10 22:44:32 +0800 |
commit | 47a1238bdb237d9821e606c7f02811f343233c5a (patch) | |
tree | b6971cee40275b6f1b75935f2f9ce2fdc11d1e94 /common | |
parent | e61c2b753cc438c1191bc59e34f0b2d73782a8f7 (diff) |
common/log: fix *_dump_log routines for ext4
dumpe2fs -h displays the superblock contents, not the journal
contents. Use the logdump utility to dump the contents of the
journal.
Signed-off-by: Catherine Hoang <catherine.hoang@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Allison Henderson <allison.henderson@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/log | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -229,7 +229,7 @@ _scratch_dump_log() $DUMP_F2FS_PROG $SCRATCH_DEV ;; ext4) - $DUMPE2FS_PROG -h $SCRATCH_DEV + $DEBUGFS_PROG -R "logdump -a" $SCRATCH_DEV ;; *) ;; @@ -246,7 +246,7 @@ _test_dump_log() $DUMP_F2FS_PROG $TEST_DEV ;; ext4) - $DUMPE2FS_PROG -h $TEST_DEV + $DEBUGFS_PROG -R "logdump -a" $TEST_DEV ;; *) ;; |