diff options
| author | Pranith Kumar K <pkarampu@redhat.com> | 2013-02-06 07:04:10 +0530 | 
|---|---|---|
| committer | Anand Avati <avati@redhat.com> | 2013-02-06 09:48:23 -0800 | 
| commit | ee1472336c3e0747eef53b826985b51696d697ae (patch) | |
| tree | c513ae9dc8553e95435b3e752ae81f8bc8a08281 /libglusterfs/src/inode.h | |
| parent | 3a141cda38cd6908dc3f1103a02eb38007552e87 (diff) | |
libglusterfs: Maintain open-fd-count in inode.
Change-Id: I643d02959f92e40f68a53baf165753ed20f8b3e0
BUG: 908146
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/4468
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'libglusterfs/src/inode.h')
| -rw-r--r-- | libglusterfs/src/inode.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index 20e28f6820d..199ce44849a 100644 --- a/libglusterfs/src/inode.h +++ b/libglusterfs/src/inode.h @@ -87,6 +87,7 @@ struct _inode {          uuid_t               gfid;          gf_lock_t            lock;          uint64_t             nlookup; +        uint32_t             fd_count;      /* Open fd count */          uint32_t             ref;           /* reference count on this inode */          ia_type_t            ia_type;       /* what kind of file */          struct list_head     fd_list;       /* list of open files on this inode */  | 
