summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorLubomir Rintel <lubo.rintel@gooddata.com>2012-08-30 11:37:24 +0200
committerAnand Avati <avati@redhat.com>2013-02-07 18:18:00 -0800
commitbda72009430ed76dc00433346b33be25c2fe2566 (patch)
tree935469d123b8df792ceec3747f806dfdeaff1bcf /contrib
parent83c84028552d41ec0914a0c5db97e6557d9fe039 (diff)
fuse: log options passed to fuse when mount fails
This is done to ease debugging. Change-Id: I50cfca297e03f41cc47819d0700752e3d24a07d6 BUG: 852754 Signed-off-by: Lubomir Rintel <lubo.rintel@gooddata.com> Reviewed-on: http://review.gluster.org/3877 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fuse-lib/mount.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/fuse-lib/mount.c b/contrib/fuse-lib/mount.c
index fedde3fce..a222aaca4 100644
--- a/contrib/fuse-lib/mount.c
+++ b/contrib/fuse-lib/mount.c
@@ -294,7 +294,8 @@ gf_fuse_mount (const char *mountpoint, char *fsname,
}
if (ret == -1)
- GFFUSE_LOGERR ("mount failed");
+ GFFUSE_LOGERR ("mount of %s to %s (%s) failed",
+ fsname, mountpoint, mnt_param);
if (status_fd >= 0)
(void)write (status_fd, &ret, sizeof (ret));