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>
This commit is contained in:
parent
83c8402855
commit
bda7200943
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user