From ee1472336c3e0747eef53b826985b51696d697ae Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 6 Feb 2013 07:04:10 +0530 Subject: libglusterfs: Maintain open-fd-count in inode. Change-Id: I643d02959f92e40f68a53baf165753ed20f8b3e0 BUG: 908146 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/4468 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- libglusterfs/src/inode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs/src/inode.h') diff --git a/libglusterfs/src/inode.h b/libglusterfs/src/inode.h index 20e28f68..199ce448 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 */ -- cgit