Browse Source

[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>
David Teigland 19 years ago
parent
commit
65952fb4e9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      fs/gfs2/sys.c

+ 1 - 0
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;
 }