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>
@@ -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;
}