diff options
author | Sunil Kumar Acharya <sheggodu@redhat.com> | 2017-10-31 12:37:37 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-11-01 13:28:51 +0000 |
commit | afa8df9ee249fac2a20f3d367dcadcee1451184e (patch) | |
tree | 573017bff10fecb73e390fa7390c7ec2a5556313 /xlators/cluster/ec/src/ec-common.h | |
parent | 82be66ef8e9e3127d41a4c843daf74c1d8aec4aa (diff) |
cluster/ec: FORWARD_NULL coverity fix
Problem: cbk could be NULL.
Solution: Assigned appropriate value to cbk.
BUG: 789278
Change-Id: I2e4bba9a54f965c6a7bccf0b0cb6c5f75399f6e6
Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com>
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.h')
-rw-r--r-- | xlators/cluster/ec/src/ec-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-common.h b/xlators/cluster/ec/src/ec-common.h index e3468333cc4..9a35391a781 100644 --- a/xlators/cluster/ec/src/ec-common.h +++ b/xlators/cluster/ec/src/ec-common.h @@ -135,4 +135,8 @@ ec_heal_inspect (call_frame_t *frame, ec_t *ec, ec_heal_need_t *need_heal); int32_t ec_get_heal_info (xlator_t *this, loc_t *loc, dict_t **dict); + +int32_t ec_lock_unlocked(call_frame_t *frame, void *cookie, + xlator_t *this, int32_t op_ret, int32_t op_errno, + dict_t *xdata); #endif /* __EC_COMMON_H__ */ |