summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorSunil Kumar Acharya <sheggodu@redhat.com>2017-10-31 13:05:36 +0530
committerXavier Hernandez <jahernan@redhat.com>2017-11-08 08:30:19 +0000
commitd109c7b79e15ab1940cd083636e867b1d4ed204e (patch)
tree987f2221e0739c99c0d6152141b3ec17604e5e81 /xlators/cluster
parent96f6eb508821d20d4cc440de9da47af13ab49413 (diff)
cluster/ec: UNUSED_VALUE coverity fix
Problem: Return values are not used. Solution: Removed the unused values. BUG: 789278 Change-Id: Ica2b95bb659dfc7ec5346de0996b9d2fcd340f8d Signed-off-by: Sunil Kumar Acharya <sheggodu@redhat.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/ec/src/ec-heal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/ec/src/ec-heal.c b/xlators/cluster/ec/src/ec-heal.c
index 89019357e3c..79159dc943d 100644
--- a/xlators/cluster/ec/src/ec-heal.c
+++ b/xlators/cluster/ec/src/ec-heal.c
@@ -1027,9 +1027,13 @@ ec_delete_stale_name (dict_t *gfid_db, char *key, data_t *d, void *data)
if (IA_ISDIR (ia->ia_type)) {
ret = cluster_rmdir (ec->xl_list, same, ec->nodes, replies,
output, frame, ec->xl, &loc, 1, NULL);
+ gf_msg_debug (ec->xl->name, 0, "cluster rmdir succeeded on %d "
+ "nodes", ret);
} else {
ret = cluster_unlink (ec->xl_list, same, ec->nodes, replies,
output, frame, ec->xl, &loc, 0, NULL);
+ gf_msg_debug (ec->xl->name, 0, "cluster unlink succeeded on %d "
+ "nodes", ret);
}
for (i = 0; i < ec->nodes; i++) {