diff options
author | David Teigland <teigland@redhat.com> | 2006-09-15 14:09:11 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-18 09:43:23 -0400 |
commit | 65952fb4e91c159d253bd28ceaf028a86dbb0b02 (patch) | |
tree | e4d09a162da7bec0a0ffa9efc258d03489aa163d /fs | |
parent | a8336344a5fd1366eb3616d351c39cadcd077f43 (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.c | 1 |
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: | |||
555 | fail_reg: | 555 | fail_reg: |
556 | kobject_unregister(&sdp->sd_kobj); | 556 | kobject_unregister(&sdp->sd_kobj); |
557 | fail: | 557 | fail: |
558 | fs_err(sdp, "error %d adding sysfs files", error); | ||
558 | return error; | 559 | return error; |
559 | } | 560 | } |
560 | 561 | ||