summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorRajesh Joseph <rjoseph@redhat.com>2016-09-14 06:08:39 +0530
committerRaghavendra Talur <rtalur@redhat.com>2016-09-21 03:18:32 -0700
commitd4e16452c82fcf6a71292aa91f5d7424a31b7b0f (patch)
tree90b07a00b1d6bb28f1a26033bd00a5aadab556bd /api
parente9478b620fbcbc2bdca9e8a34e5b47e93926f0d2 (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> Bug: 1375990 Change-Id: I87f6c7d20959e2d4bbe8c064767a9fed004e8c4a Signed-off-by: Rajesh Joseph <rjoseph@redhat.com> Reviewed-on: http://review.gluster.org/15499 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')
-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 ee744872e22..808acace16b 100644
--- a/api/src/glfs.c
+++ b/api/src/glfs.c
@@ -1215,7 +1215,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;
}