summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-03-18 00:56:14 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-18 20:36:39 -0700
commitbb5b31fb96dbc2092e2967924462c59863845749 (patch)
treee54a0ac9c59715b9da305326dac5225d3b33f13e /libglusterfs/src
parent26dcbc729395b00dae45cd62222aaccbd2ab7aff (diff)
fuse: set 'graph->used' after graph change
Because in the current way, we have chances of changing the graph to old one too. with this, we can control this. Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2503 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2503
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/glusterfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index f2fc64def17..7c1d681e9a1 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -307,6 +307,8 @@ struct _glusterfs_graph {
void *top; /* selected by -n */
int xl_count;
int id; /* Used in logging */
+ int used; /* Should be set when fuse gets
+ first CHILD_UP */
uint32_t volfile_checksum;
};
typedef struct _glusterfs_graph glusterfs_graph_t;