From: David Teigland Date: Fri, 15 Sep 2006 18:09:11 +0000 (-0500) Subject: [GFS2] print mount errors related to sysfs X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=65952fb4e91c159d253bd28ceaf028a86dbb0b02;p=deliverable%2Flinux.git [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 Signed-off-by: Steven Whitehouse --- diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c index 88386d8dc05a..c9b23084918f 100644 --- a/fs/gfs2/sys.c +++ b/fs/gfs2/sys.c @@ -555,6 +555,7 @@ fail_lockstruct: fail_reg: kobject_unregister(&sdp->sd_kobj); fail: + fs_err(sdp, "error %d adding sysfs files", error); return error; }