Commit 65952fb4 authored by David Teigland's avatar David Teigland Committed by 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: default avatarDavid Teigland <teigland@redhat.com>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent a8336344
...@@ -555,6 +555,7 @@ int gfs2_sys_fs_add(struct gfs2_sbd *sdp) ...@@ -555,6 +555,7 @@ int gfs2_sys_fs_add(struct gfs2_sbd *sdp)
fail_reg: fail_reg:
kobject_unregister(&sdp->sd_kobj); kobject_unregister(&sdp->sd_kobj);
fail: fail:
fs_err(sdp, "error %d adding sysfs files", error);
return error; return error;
} }
......
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