summaryrefslogtreecommitdiffstats
path: root/api/src
diff options
context:
space:
mode:
authorPoornima G <pgurusid@redhat.com>2016-06-17 01:27:31 -0400
committerRaghavendra Talur <rtalur@redhat.com>2016-07-20 23:15:55 -0700
commit0a8b85e3a8228c399dde807c3ca781a452a1fc90 (patch)
tree2c0d75324ef3bf2339c188929e4cfb9177e8f110 /api/src
parentdcf75f7dac091cdb8ab0af2e8f2ca30f6272f8d1 (diff)
tests: Enable all gfapi test cases
Change-Id: I32bfec4af91348d96dc3e81a9d5c9cad599f821b Bug: 1358594 Signed-off-by: Poornima G <pgurusid@redhat.com> Reviewed-on: http://review.gluster.org/14748 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'api/src')
-rw-r--r--api/src/glfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c
index a7b4962fb1d..bd70e7f610f 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -1240,7 +1240,7 @@ pub_glfs_fini (struct glfs *fs)
syncenv_destroy (ctx->env);
/* Join the poller thread */
- if (event_dispatch_destroy (ctx->event_pool) != 0)
+ if (event_dispatch_destroy (ctx->event_pool) < 0)
ret = -1;
}