[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
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue