summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorHarshavardhana Ranganath <harsha@gluster.com>2010-01-26 09:05:41 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-26 07:23:19 -0800
commitc15449aaaeb725c49af3817e07ea33c6c09c8c15 (patch)
treed20d46e586109f335e6ea044cc4d4696ecb87310 /libglusterfs
parent936eac4cec6cf57ab22688cb8f3222d385818c97 (diff)
Revert "Server backend storage hang should not cause the mount point to hang."v3.0.2rc1
This reverts commit a0b148ea4e2a0163548eeb89b7580be4adbb8070. Signed-off-by: Harshavardhana <harsha@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 272 (Server backend storage hang should not cause the mount point to hang) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=272
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/xlator.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c
index 650a844c912..44494a944a6 100644
--- a/libglusterfs/src/xlator.c
+++ b/libglusterfs/src/xlator.c
@@ -870,6 +870,10 @@ xlator_tree_init (xlator_t *xl)
*/
ret = xlator_init_rec (top);
+ if (ret == 0 && top->notify) {
+ top->notify (top, GF_EVENT_PARENT_UP, NULL);
+ }
+
return ret;
}