nl-cache: Fix coverity issue RETURN_LOCAL

Change-Id: Ic6fbd34aad2a5ae5e27d833300bcd1284cb98c24
Signed-off-by: Poornima G <pgurusid@redhat.com>
This commit is contained in:
Poornima G 2018-02-19 20:46:21 +05:30
parent 7f9c56dd38
commit 5689a3c2d6

@ -158,7 +158,7 @@ __nlc_inode_ctx_get (xlator_t *this, inode_t *inode, nlc_ctx_t **nlc_ctx_p,
*nlc_ctx_p = nlc_ctx;
}
if (ret == 0 && nlc_pe_p) {
nlc_pe = (void *) (long) (&nlc_pe_int);
nlc_pe = (void *) (long) (nlc_pe_int);
*nlc_pe_p = nlc_pe;
}
return ret;