summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-03-10 00:07:43 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-09 21:59:52 -0800
commit5017098718059005e05873aa299a0fb5cb05fa90 (patch)
treee8516dce164fbb10c25ec52f640552307389f84a /libglusterfs
parent93845ea7ccc44b79cf2a60526e4759059382f22b (diff)
fuse: have the 'used' flag set in graph when used for first timev3.1.3qa7
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')
-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 24ca5d186..c911a88c7 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -298,6 +298,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;