diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2012-04-13 14:28:05 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-04-19 00:36:26 -0700 |
commit | cbb7a20daf7d59681eb21495361236cf68e9cd3b (patch) | |
tree | 28de80f0d4f6473c2274b0c40c593726d6f9b94a /xlators/mgmt/glusterd/src/glusterd.c | |
parent | 1a46dcecd0cfba549ae54bf61eaea2223b39c10f (diff) |
glusterd: Moved 'hooks' interface code to glusterd-hooks.*
Change-Id: Ia7c0e37154414bddb05516e11b3cc4e6ae83ff38
BUG: 806996
Signed-off-by: Krishnan Parthasarathi <kp@gluster.com>
Reviewed-on: http://review.gluster.com/3142
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c index b1856d81d98..7f41721c0a2 100644 --- a/xlators/mgmt/glusterd/src/glusterd.c +++ b/xlators/mgmt/glusterd/src/glusterd.c @@ -44,6 +44,7 @@ #include "glusterd-sm.h" #include "glusterd-op-sm.h" #include "glusterd-store.h" +#include "glusterd-hooks.h" #include "glusterd-utils.h" #include "common-utils.h" #include "run.h" @@ -981,7 +982,7 @@ init (xlator_t *this) GLUSTERD_GET_HOOKS_DIR (hooks_dir, GLUSTERD_HOOK_VER, conf); if (stat (hooks_dir, &buf)) { - ret = glusterd_store_create_hooks_directory (dirname); + ret = glusterd_hooks_create_hooks_directory (dirname); if (-1 == ret) { gf_log (this->name, GF_LOG_CRITICAL, "Unable to create hooks directory "); |