summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src/fetch-spec.c
diff options
context:
space:
mode:
authorHarshavardhana Ranganath <harsha@gluster.com>2010-01-26 03:43:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-26 03:42:38 -0800
commitffc36da0fd9a925aa2a23026b9244787d2c0a5fd (patch)
tree358b9eb7a2e2cd5c054ec08e92753f73f7863f6b /glusterfsd/src/fetch-spec.c
parent6041019b63cef990d9892ea2a1cfe219166509df (diff)
Fix fetching volume file from the server, by sending parent up through the xlator graph.
Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 573 (3.0.1 doesn't fetch volfume files from the server) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=573
Diffstat (limited to 'glusterfsd/src/fetch-spec.c')
-rw-r--r--glusterfsd/src/fetch-spec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/glusterfsd/src/fetch-spec.c b/glusterfsd/src/fetch-spec.c
index 5810a615a08..0e293e08768 100644
--- a/glusterfsd/src/fetch-spec.c
+++ b/glusterfsd/src/fetch-spec.c
@@ -35,6 +35,8 @@
#include "defaults.h"
+int glusterfs_graph_parent_up (xlator_t *graph);
+
static int
fetch_cbk (call_frame_t *frame,
void *cookie,
@@ -207,6 +209,8 @@ get_shrub (glusterfs_ctx_t *ctx,
if (xlator_tree_init (top) != 0)
return NULL;
+
+ glusterfs_graph_parent_up (top);
return top;
}