Skip to contentSkip to conversation

debugfs: remove misplaced "MMP is unsupported" message.

PATCH Applied Tyson Nottingham 3 participants 3 messages Jan 24, 2018 – Feb 8, 2018

lore
Share & tools
lore
#0 lore raw

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.

---
 debugfs/debugfs.c | 2 --
 1 file changed, 2 deletions(-)
debugfs/debugfs.c +0 -2
index 91ededf..e46532f 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Tyson Nottingham

This message was inadvertently copied from the version of do_dump_mmp that is used when CONFIG_MMP is disabled.

Looks ok,

Quoted 20 lines
---
 debugfs/debugfs.c | 2 --
 1 file changed, 2 deletions(-)
debugfs/debugfs.c +0 -2
index 91ededf..e46532f 100644
@@ -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