Add block comments before mount_error() and umount_error() to help
distinguish them from the other error reporting functions.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
fprintf(stderr, "%s\n", errbuf);
}
fprintf(stderr, "%s\n", errbuf);
}
+/*
+ * mount_error - report a foreground mount error
+ * @spec: C string containing the device name being mounted
+ * @mount_point: C string containing the pathname of the local mounted on dir
+ * @error: errno value to report
+ *
+ */
void mount_error(const char *spec, const char *mount_point, int error)
{
switch(error) {
void mount_error(const char *spec, const char *mount_point, int error)
{
switch(error) {
- * Report a failed umount
+ * umount_error - report a failed umount request
+ * @err: errno value to report
+ * @dev: C string containing the pathname of the local mounted on dir
+ *
*/
void umount_error(int err, const char *dev)
{
*/
void umount_error(int err, const char *dev)
{