summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs/client_t.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/glusterfs/client_t.h')
-rw-r--r--libglusterfs/src/glusterfs/client_t.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs/client_t.h b/libglusterfs/src/glusterfs/client_t.h
index 29f50daf03b..8ef3665a9c2 100644
--- a/libglusterfs/src/glusterfs/client_t.h
+++ b/libglusterfs/src/glusterfs/client_t.h
@@ -47,6 +47,8 @@ typedef struct _client {
inode_t *subdir_inode;
uuid_t subdir_gfid;
int32_t opversion;
+ /* Variable to save fd_count for detach brick */
+ gf_atomic_t fd_cnt;
} client_t;
#define GF_CLIENTCTX_INITIAL_SIZE 8