Skip to content

Commit

Permalink
[GFS2] print mount errors related to sysfs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Teigland authored and Steven Whitehouse committed Sep 18, 2006
1 parent a833634 commit 65952fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/gfs2/sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ int gfs2_sys_fs_add(struct gfs2_sbd *sdp)
fail_reg:
kobject_unregister(&sdp->sd_kobj);
fail:
fs_err(sdp, "error %d adding sysfs files", error);
return error;
}

Expand Down

0 comments on commit 65952fb

Please sign in to comment.