summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec
diff options
context:
space:
mode:
authorAshish Pandey <aspandey@redhat.com>2015-05-14 17:06:25 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-06-08 06:19:15 -0700
commitf57c2d1ecbd547360137c9d3a36f64349e6e0fba (patch)
treea259d7190f1c792159890056d64234dbef4c35c5 /xlators/cluster/ec
parent0dff9120d5e2ca4150491b94fdc01944a710041a (diff)
Changing log level to DEBUG in case of ENOENT
Change-Id: I264e47ca679d8b57cd8c80306c07514e826f92d8 BUG: 1193388 Signed-off-by: Ashish Pandey <aspandey@redhat.com> Reviewed-on: http://review.gluster.org/10784 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Xavier Hernandez <xhernandez@datalab.es>
Diffstat (limited to 'xlators/cluster/ec')
-rw-r--r--xlators/cluster/ec/src/ec-common.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index ead8d3713c5..c4bc4707257 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -1442,8 +1442,9 @@ int32_t ec_update_size_version_done(call_frame_t * frame, void * cookie,
ec_inode_t *ctx;
if (op_ret < 0) {
- gf_log(fop->xl->name, GF_LOG_ERROR, "Failed to update version and "
- "size (error %d)", op_errno);
+ gf_log(fop->xl->name, fop_log_level (fop->id, op_errno),
+ "Failed to update version and"
+ " size (error %d)", op_errno);
} else {
fop->parent->mask &= fop->good;
link = fop->data;