summaryrefslogtreecommitdiffstats
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)
downloadlinux-stable-65952fb4e91c159d253bd28ceaf028a86dbb0b02.tar.gz
linux-stable-65952fb4e91c159d253bd28ceaf028a86dbb0b02.tar.bz2
linux-stable-65952fb4e91c159d253bd28ceaf028a86dbb0b02.zip
[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 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;
}