summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.c
diff options
context:
space:
mode:
authorKamal Mohanan <kmohanan@redhat.com>2017-09-25 10:57:21 +0530
committerN Balachandran <nbalacha@redhat.com>2017-09-26 09:48:31 +0000
commit490f27c44f0a4feb8c52fc31f28163310690e0a1 (patch)
tree9acda3a3fe3bab0302d5df03fcee72281fb93ade /xlators/cluster/dht/src/dht-common.c
parent8855ebcfecde2a21e0a9ba725e9738708e03904a (diff)
Fix a coverity error of checker type: CHECKED_RETURN
Problem: dht_frame_return was being called without checking the return value. Solution: Typecast the value returned by the function to void. Change-Id: Idfc6a7ed467d1c8f5f8d09ec26d9059f3d23b760 BUG: 789278 Signed-off-by: Kamal Mohanan <kmohanan@redhat.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.c')
-rw-r--r--xlators/cluster/dht/src/dht-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index b8a860d..185eeb2 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -8742,7 +8742,7 @@ dht_rmdir_opendir_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
if (!readdirp_frame) {
cnt--;
/* Reduce the local->call_cnt as well */
- dht_frame_return (frame);
+ (void) dht_frame_return (frame);
continue;
}