From fdc016fabed01e8497ffe281d7f35708b0eb25cd Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Fri, 27 Aug 2010 09:28:37 +0000 Subject: fix notify mechanism to send CHILD_UP to fuse Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur --- xlators/mount/fuse/src/fuse-bridge.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xlators/mount') diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c index c4452555c..ef433d0a0 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; -- cgit