summaryrefslogtreecommitdiff
path: root/fs/f2fs/super.c
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2019-05-23 09:49:17 +0530
committerJaegeuk Kim <jaegeuk@kernel.org>2019-05-30 09:13:54 -0700
commit9227d5227b8db354d386f592f159eaa44db1c0b8 (patch)
treed9a56a5a2f290202ebd7a6e7b73017c5ad0ed190 /fs/f2fs/super.c
parentc854f4d681365498f53ba07843a16423625aa7e9 (diff)
f2fs: add error prints for debugging mount failure
Add error prints to get more details on the mount failure. Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r--fs/f2fs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 7b6422d46891..912e2619d581 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -3305,13 +3305,13 @@ try_onemore:
err = f2fs_build_segment_manager(sbi);
if (err) {
f2fs_msg(sb, KERN_ERR,
- "Failed to initialize F2FS segment manager");
+ "Failed to initialize F2FS segment manager (%d)", err);
goto free_sm;
}
err = f2fs_build_node_manager(sbi);
if (err) {
f2fs_msg(sb, KERN_ERR,
- "Failed to initialize F2FS node manager");
+ "Failed to initialize F2FS node manager (%d)", err);
goto free_nm;
}