Commit 688a5f2e authored by Gao Xiang's avatar Gao Xiang Committed by Greg Kroah-Hartman

erofs: kill verbose debug info in erofs_fill_super

As Christoph said [1], "That is some very verbose
debug info.  We usually don't add that and let
people trace the function instead. "

[1] https://lore.kernel.org/r/20190829101545.GC20598@infradead.org/Reported-by: default avatarChristoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarGao Xiang <gaoxiang25@huawei.com>
Link: https://lore.kernel.org/r/20190904020912.63925-15-gaoxiang25@huawei.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0259f209
...@@ -384,9 +384,6 @@ static int erofs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -384,9 +384,6 @@ static int erofs_fill_super(struct super_block *sb, void *data, int silent)
struct erofs_sb_info *sbi; struct erofs_sb_info *sbi;
int err; int err;
infoln("fill_super, device -> %s", sb->s_id);
infoln("options -> %s", (char *)data);
sb->s_magic = EROFS_SUPER_MAGIC; sb->s_magic = EROFS_SUPER_MAGIC;
if (!sb_set_blocksize(sb, EROFS_BLKSIZ)) { if (!sb_set_blocksize(sb, EROFS_BLKSIZ)) {
...@@ -419,9 +416,6 @@ static int erofs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -419,9 +416,6 @@ static int erofs_fill_super(struct super_block *sb, void *data, int silent)
if (err) if (err)
return err; return err;
if (!silent)
infoln("root inode @ nid %llu", ROOT_NID(sbi));
if (test_opt(sbi, POSIX_ACL)) if (test_opt(sbi, POSIX_ACL))
sb->s_flags |= SB_POSIXACL; sb->s_flags |= SB_POSIXACL;
else else
...@@ -454,7 +448,8 @@ static int erofs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -454,7 +448,8 @@ static int erofs_fill_super(struct super_block *sb, void *data, int silent)
return err; return err;
if (!silent) if (!silent)
infoln("mounted on %s with opts: %s.", sb->s_id, (char *)data); infoln("mounted on %s with opts: %s, root inode @ nid %llu.",
sb->s_id, (char *)data, ROOT_NID(sbi));
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment