diff options
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/performance/readdir-ahead/src/readdir-ahead.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xlators/performance/readdir-ahead/src/readdir-ahead.c b/xlators/performance/readdir-ahead/src/readdir-ahead.c index 7a5f989eb73..98c1a3f7259 100644 --- a/xlators/performance/readdir-ahead/src/readdir-ahead.c +++ b/xlators/performance/readdir-ahead/src/readdir-ahead.c @@ -638,18 +638,10 @@ rda_opendir(call_frame_t *frame, xlator_t *this, loc_t *loc, fd_t *fd, { int op_errno = 0; struct rda_local *local = NULL; - dict_t *xdata_from_req = NULL; if (xdata) { - xdata_from_req = dict_new(); - if (!xdata_from_req) { - op_errno = ENOMEM; - goto unwind; - } - local = mem_get0(this->local_pool); if (!local) { - dict_unref(xdata_from_req); op_errno = ENOMEM; goto unwind; } |