From 07cb6a486502fa0f7ea141e7600ec67015383546 Mon Sep 17 00:00:00 2001 From: Susant Palai Date: Wed, 3 Oct 2018 20:40:12 +0530 Subject: dht: coverity fixes CID: 1356541 Issue: Dereference null return value CID: 1382411 Issue: Dereference after null check CID: 1391409 Issue: Unchecked return value Change-Id: Id3d4feb4e88df424003cc8e8a1540e77bbe030e3 Updates: bz#789278 Signed-off-by: Susant Palai --- xlators/cluster/dht/src/dht-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/dht/src/dht-common.h') diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 7d813b1acc8..580f57e6e25 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -867,7 +867,7 @@ int32_t dht_migration_needed(xlator_t *this); int dht_layout_normalize(xlator_t *this, loc_t *loc, dht_layout_t *layout); -int +void dht_layout_anomalies(xlator_t *this, loc_t *loc, dht_layout_t *layout, uint32_t *holes_p, uint32_t *overlaps_p, uint32_t *missing_p, uint32_t *down_p, uint32_t *misc_p, -- cgit