patch-2.2.17 linux/include/linux/coda_fs_i.h

Next file: linux/include/linux/coda_linux.h
Previous file: linux/include/linux/coda_cache.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.16/include/linux/coda_fs_i.h linux/include/linux/coda_fs_i.h
@@ -29,23 +29,18 @@
 
         struct ViceFid     c_fid;	/* Coda identifier */
         u_short	           c_flags;     /* flags (see below) */
-        u_short	           c_ocount;    /* count of openers */
-        u_short            c_owrite;    /* count of open for write */
-        u_short            c_mmcount;   /* count of mmappers */
         struct inode      *c_ovp;       /* open inode  pointer */
         struct list_head   c_cnhead;    /* head of cache entries */
 	struct list_head   c_volrootlist; /* list of volroot cnoddes */
         struct inode      *c_vnode;     /*  inode associated with cnode */
+	unsigned int	   c_contcount; /* refcount for container inode */
         int                c_magic;     /* to verify the data structure */
 };
 
 /* flags */
 #define C_VATTR       0x1   /* Validity of vattr in inode */
-#define C_PURGE       0x8
-#define C_ZAPDIR      0x10
-#define C_DYING       0x4   /* from venus (which died) */
-#define C_INITED      0x20
 #define C_FLUSH       0x2   /* used after a flush */
+#define C_PURGE       0x8
 
 int coda_cnode_make(struct inode **, struct ViceFid *, struct super_block *);
 int coda_cnode_makectl(struct inode **inode, struct super_block *sb);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)