diff options
author | Mohammed Azhar Padariyakam <mpadariy@redhat.com> | 2017-11-02 15:23:22 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2017-11-03 17:24:46 +0000 |
commit | 337b5580aa8872a69631f8af17e1add7bb2a901d (patch) | |
tree | f3af193f5c41c69149918b06085943746d17e292 /libglusterfs | |
parent | 498f8b8c26173a04cf085fbfa56cdb719b46b33c (diff) |
xlators/bd-helper: Coverity Fix CHECKED_RETURN in bd_do_ioctl_zerofill
Problem: bd_do_ioctl_zerofill is called and return value is unchecked
Fix: Check the returned value and goto skip if the returned value < 0
which means its an error.
Coverity Id: 67 from [1]
[1]: https://download.gluster.org/pub/gluster/glusterfs/static-analysis/master/glusterfs-coverity/2017-10-30-9aa574a5/html/
Change-Id: I398873cefaca03f9cd188fa0f4ccba1378a60ed9
BUG: 789278
Signed-off-by: Mohammed Azhar Padariyakam <mpadariy@redhat.com>
Diffstat (limited to 'libglusterfs')
0 files changed, 0 insertions, 0 deletions