[GFS2] print mount errors related to sysfs
Print an error message if mount fails in setting up the sysfs files. Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
a8336344a5
commit
65952fb4e9
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user