debugfs: remove misplaced "MMP is unsupported" message.
PATCH 1/1 debugfs: remove misplaced "MMP is unsupported" message.
This message was inadvertently copied from the version of do_dump_mmp that is used when CONFIG_MMP is disabled.
Signed-off-by Tyson Nottingham <[email protected]>
--- debugfs/debugfs.c | 2 -- 1 file changed, 2 deletions(-)
debugfs/debugfs.c +0 -2
@@ -2366,8 +2366,6 @@ void do_dump_mmp(int argc EXT2FS_ATTR((unused)), char *argv[])fprintf (stdout,"device_name: %s\n" , mmp_s->mmp_bdevname);fprintf (stdout,"magic: 0x%x\n" , mmp_s->mmp_magic);fprintf (stdout,"checksum: 0x%08x\n" , mmp_s->mmp_checksum); -fprintf (stdout,"MMP is unsupported, please recompile with " -"--enable-mmp\n" ); }#else void do_dump_mmp(int argc EXT2FS_ATTR((unused)),
Signature · 1 line
2.7.4
Quoted 4 lines · Tyson Nottingham
This message was inadvertently copied from the version of
do_dump_mmpthat is used whenCONFIG_MMPis disabled.Signed-off-by Tyson Nottingham <[email protected]>
Looks ok,
Reviewed-by Darrick J. Wong <[email protected]>
Quoted 20 lines
--- debugfs/debugfs.c | 2 -- 1 file changed, 2 deletions(-)debugfs/debugfs.c +0
-2@@ -2366,8 +2366,6 @@ void do_dump_mmp(int argc EXT2FS_ATTR((unused)), char *argv[])fprintf (stdout,"device_name: %s\n" , mmp_s->mmp_bdevname);fprintf (stdout,"magic: 0x%x\n" , mmp_s->mmp_magic);fprintf (stdout,"checksum: 0x%08x\n" , mmp_s->mmp_checksum); -fprintf (stdout,"MMP is unsupported, please recompile with " -"--enable-mmp\n" ); }#else void do_dump_mmp(int argc EXT2FS_ATTR((unused)),Signature · 1 line
2.7.4
Theodore Ts'o
AppliedQuoted 4 lines · Tyson Nottingham
This message was inadvertently copied from the version of
do_dump_mmpthat is used whenCONFIG_MMPis disabled.Signed-off-by Tyson Nottingham <[email protected]>
Thanks, applied.
- Ted