summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-08-27 09:28:37 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-08-27 10:43:10 -0700
commitfdc016fabed01e8497ffe281d7f35708b0eb25cd (patch)
tree1143b0f60ca006a74473de2179b4daf484c53d33 /xlators/mount/fuse/src
parent18482a0d744a222fba6e235a1c6f2c30e27e8c03 (diff)
fix notify mechanism to send CHILD_UP to fuse
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
Diffstat (limited to 'xlators/mount/fuse/src')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index c4452555c75..ef433d0a046 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -3245,6 +3245,10 @@ fuse_graph_setup (xlator_t *this, glusterfs_graph_t *graph)
priv = this->private;
+ /* handle the case of more than one CHILD_UP on same graph */
+ if (priv->active_subvol == graph->top)
+ return -1;
+
itable = inode_table_new (0, graph->top);
if (!itable)
return -1;