summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKartik_Burmee <kburmee@redhat.com>2017-09-25 15:49:36 +0530
committerRaghavendra G <rgowdapp@redhat.com>2017-10-04 10:00:12 +0000
commitfabee9d6816077d0f44a7d82c0b35aef60771711 (patch)
tree12bfa171fac8f30afeeb74a8504bb82c3b965c35
parent9b4de61a136b8e5ba7bf0e48690cdb1292d0dee8 (diff)
Coverity issue fix: checked return
issue:Calling "client_submit_request" without checking return value (as is done elsewhere 52 out of 58 times). function: client_fdctx_destroy Change-Id: I66a295dd114fc20f04eb1aca9a5b274df53be090 BUG: 789278 fix: typecasted function return value using void Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
-rw-r--r--xlators/protocol/client/src/client-rpc-fops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c
index 09756a835e2..803346b6aef 100644
--- a/xlators/protocol/client/src/client-rpc-fops.c
+++ b/xlators/protocol/client/src/client-rpc-fops.c
@@ -3207,7 +3207,7 @@ client_fdctx_destroy (xlator_t *this, clnt_fd_ctx_t *fdctx)
memcpy (req.gfid, fdctx->gfid, 16);
req.fd = fdctx->remote_fd;
gf_msg_trace (this->name, 0, "sending release on fd");
- client_submit_request (this, &req, fr, &clnt3_3_fop_prog,
+ (void)client_submit_request (this, &req, fr, &clnt3_3_fop_prog,
GFS3_OP_RELEASE,
client3_3_release_cbk, NULL,
NULL, 0, NULL, 0, NULL,