diff options
| author | Harshavardhana Ranganath <harsha@gluster.com> | 2010-01-26 03:45:00 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-01-26 03:42:41 -0800 | 
| commit | 404d4dadcea3893a86a405475acb32545598f0b5 (patch) | |
| tree | 3a4c6081472a10f76ae304c3ee8eb6b8fd8b080f | |
| parent | 4c20b5377e4a73a684ba3bb091380fd0f19731ca (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
| -rw-r--r-- | glusterfsd/src/fetch-spec.c | 4 | 
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;  }  | 
