diff options
author | Girjesh Rajoria <grajoria@redhat.com> | 2017-09-23 02:28:34 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-09-29 12:37:26 +0000 |
commit | e994fbc825b0ce48bbe0c23d034e821502359912 (patch) | |
tree | c2682e1f9b0de6cf022873cd2787edbd620f4add /xlators/cluster/ec | |
parent | 9af20af096a14c6297ca8f89697f2a9e4e83bd8f (diff) |
libglusterfs: Coverity Issue NEGATIVE_RETURNS
Issue: Event negative_return_fn: Function "dup(handle->fd)" returns a
negative number. Event negative_returns: "dup(handle->fd)" is passed
to a parameter that cannot be negative.
With this change value of dup(handle->fd) is stored in duped_fd & if
condition checks the value of duped_fd is non-negative.
Change-Id: I563d717108016d740ffa64fbe0929eb1e08c8f33
BUG: 789278
Signed-off-by: Girjesh Rajoria <grajoria@redhat.com>
Diffstat (limited to 'xlators/cluster/ec')
0 files changed, 0 insertions, 0 deletions