aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/sys.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-09-15 13:09:11 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-18 09:43:23 -0400
commit65952fb4e91c159d253bd28ceaf028a86dbb0b02 (patch)
treee4d09a162da7bec0a0ffa9efc258d03489aa163d /fs/gfs2/sys.c
parenta8336344a5fd1366eb3616d351c39cadcd077f43 (diff)
[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>
Diffstat (limited to 'fs/gfs2/sys.c')
-rw-r--r--fs/gfs2/sys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/sys.c b/fs/gfs2/sys.c
index 88386d8dc05..c9b23084918 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;
}