summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorHarshavardhana Ranganath <harsha@gluster.com>2010-01-26 09:06:18 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-26 07:23:16 -0800
commit5a574d96c392b19a92bb925b4b4dd268393831ea (patch)
treea3452c04ebaee4770f2fdfdc85beb6c1c043ef63 /libglusterfs
parentffc36da0fd9a925aa2a23026b9244787d2c0a5fd (diff)
Revert "Server backend storage hang should not cause the mount point to hang."
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;
}