From 65952fb4e91c159d253bd28ceaf028a86dbb0b02 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Fri, 15 Sep 2006 13:09:11 -0500 Subject: [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 --- fs/gfs2/sys.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/gfs2') 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; } -- cgit v1.2.3