summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/fuse-bridge.c
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2017-04-20 10:17:07 +0530
committerRaghavendra G <rgowdapp@redhat.com>2017-04-30 08:35:47 +0000
commitef60a29703f520c5bd06467efc4a0d0a33552a06 (patch)
tree9e96ad65ea7ac52bf60ec4704c25f01235d0960d /xlators/mount/fuse/src/fuse-bridge.c
parentd51288540241d1f7785bb17bdc0702c0879087a9 (diff)
mount/fuse: Replace GF_LOG_OCCASIONALLY with gf_log() to report fop failure at all times
Change-Id: Ibd8e1c6172812951092ff6097ba4bed943051b7c BUG: 1440051 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: https://review.gluster.org/17086 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.c')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index 7056b6fd164..6b3b45999be 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -20,7 +20,6 @@
#undef open /* in perfuse.h, pulled from mount-gluster-compat.h */
#endif
-static int gf_fuse_conn_err_log;
static int gf_fuse_xattr_enotsup_log;
void fini (xlator_t *this_xl);
@@ -794,10 +793,8 @@ fuse_attr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
return 0;
}
- GF_LOG_OCCASIONALLY ( gf_fuse_conn_err_log, "glusterfs-fuse",
- GF_LOG_WARNING,
- "%"PRIu64": %s() %s => -1 (%s)",
- frame->root->unique,
+ gf_log ("glusterfs-fuse", GF_LOG_WARNING, "%"PRIu64": %s() "
+ "%s => -1 (%s)", frame->root->unique,
gf_fop_list[frame->root->op],
state->loc.path ? state->loc.path : "ERR",
strerror (op_errno));