提交 65952fb4 编写于 作者: D David Teigland 提交者: Steven Whitehouse

[GFS2] print mount errors related to sysfs

Print an error message if mount fails in setting up the sysfs files.
Signed-off-by: NDavid Teigland <teigland@redhat.com>
Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
上级 a8336344
......@@ -555,6 +555,7 @@ int gfs2_sys_fs_add(struct gfs2_sbd *sdp)
fail_reg:
kobject_unregister(&sdp->sd_kobj);
fail:
fs_err(sdp, "error %d adding sysfs files", error);
return error;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册