[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:
David Teigland 2006-09-15 13:09:11 -05:00 committed by Steven Whitehouse
parent a8336344a5
commit 65952fb4e9

View file

@ -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;
}