aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-09-15 14:09:11 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-18 09:43:23 -0400
commit65952fb4e91c159d253bd28ceaf028a86dbb0b02 (patch)
treee4d09a162da7bec0a0ffa9efc258d03489aa163d /fs
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')
-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:
555fail_reg: 555fail_reg:
556 kobject_unregister(&sdp->sd_kobj); 556 kobject_unregister(&sdp->sd_kobj);
557fail: 557fail:
558 fs_err(sdp, "error %d adding sysfs files", error);
558 return error; 559 return error;
559} 560}
560 561