diff options
author | Poornima G <pgurusid@redhat.com> | 2018-02-19 20:46:21 +0530 |
---|---|---|
committer | Poornima G <pgurusid@redhat.com> | 2018-03-06 05:02:51 +0000 |
commit | 5689a3c2d68cbe6286a4426559f06e210c17bbf4 (patch) | |
tree | adca9cd96a45e3371d5022fbf9365354c86a3c11 /xlators/performance/nl-cache | |
parent | 7f9c56dd38018d65f2902212c1f80171ac7218b1 (diff) |
nl-cache: Fix coverity issue RETURN_LOCAL
Change-Id: Ic6fbd34aad2a5ae5e27d833300bcd1284cb98c24
Signed-off-by: Poornima G <pgurusid@redhat.com>
Diffstat (limited to 'xlators/performance/nl-cache')
-rw-r--r-- | xlators/performance/nl-cache/src/nl-cache-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/nl-cache/src/nl-cache-helper.c b/xlators/performance/nl-cache/src/nl-cache-helper.c index 1556f9ec952..67b17af8b69 100644 --- a/xlators/performance/nl-cache/src/nl-cache-helper.c +++ b/xlators/performance/nl-cache/src/nl-cache-helper.c @@ -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; |