From 5017098718059005e05873aa299a0fb5cb05fa90 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 10 Mar 2011 00:07:43 +0000 Subject: fuse: have the 'used' flag set in graph when used for first time Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 2503 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2503 --- libglusterfs/src/glusterfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs') 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; -- cgit