diff options
Diffstat (limited to 'glusterfsd')
-rw-r--r-- | glusterfsd/src/glusterfsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index cb92cbee867..bd10dff8430 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -80,7 +80,6 @@ #include "exports.h" #include "daemon.h" -#include "tw.h" /* using argp for command line parsing */ @@ -2510,9 +2509,10 @@ main (int argc, char *argv[]) /* do this _after_ daemonize() */ if (cmd->global_timer_wheel) { - ret = glusterfs_global_timer_wheel_init (ctx); - if (ret) + if (!glusterfs_ctx_tw_get (ctx)) { + ret = -1; goto out; + } } ret = glusterfs_volumes_init (ctx); |