summaryrefslogtreecommitdiffstats
path: root/xlators/performance/readdir-ahead/src/readdir-ahead.c
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2017-02-17 12:17:18 +0530
committerJeff Darcy <jdarcy@redhat.com>2017-02-17 07:27:38 -0500
commit9c89eaf85c2ce4fba2551f1a08c358161ab99859 (patch)
treee3f64bc9aa045e298069068b1badb1ce9c5f8461 /xlators/performance/readdir-ahead/src/readdir-ahead.c
parent932ff80b57846ed77b66776ade575a0b2231183a (diff)
readdir-ahead: Remove unnecessary logging
dict_get_int can return < 0 when key is not found is a valid case. Hence no need to log. Change-Id: If0795b0f178adbb94b10efc563506993f7411962 BUG: 1423369 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: https://review.gluster.org/16654 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/performance/readdir-ahead/src/readdir-ahead.c')
-rw-r--r--xlators/performance/readdir-ahead/src/readdir-ahead.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/performance/readdir-ahead/src/readdir-ahead.c b/xlators/performance/readdir-ahead/src/readdir-ahead.c
index 17569c2a089..c6b167725a5 100644
--- a/xlators/performance/readdir-ahead/src/readdir-ahead.c
+++ b/xlators/performance/readdir-ahead/src/readdir-ahead.c
@@ -569,12 +569,6 @@ rda_opendir(call_frame_t *frame, xlator_t *this, loc_t *loc, fd_t *fd,
local->xattrs = xdata_from_req;
ret = dict_get_int32 (xdata, GF_READDIR_SKIP_DIRS, &local->skip_dir);
- if (ret < 0) {
- gf_msg (this->name, GF_LOG_ERROR,
- 0, READDIR_AHEAD_MSG_DICT_OP_FAILED,
- "Dict get of key:%s failed with :%d",
- GF_READDIR_SKIP_DIRS, ret);
- }
frame->local = local;
}