[SSI] openssi/kernel/include/cluster/ssi/cfs cfstok.h,1.18,1.19

Roger Tsang <[email protected]> Fri, 05 Mar 2010 06:32:52 +0000
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/cfs
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv10351/kernel/include/cluster/ssi/cfs

Modified Files:
      Tag: OPENSSI-FC
	cfstok.h 
Log Message:
CFS (#ifdef SVRCFSTOK_SCT_IP_MACRO):
- Optimize away redundant. Remove pointer to struct inode in svrcfstok
  structure.

 cluster/ssi/cfs/cfsproc.c        |    2 ++
 cluster/ssi/cfs/svrcfs.c         |   29 +++++++++++++++++------------
 include/cluster/ssi/cfs/cfstok.h |    6 +++++-
 3 files changed, 24 insertions(+), 13 deletions(-)


Index: cfstok.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/cfs/cfstok.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- cfstok.h	5 Mar 2010 06:07:01 -0000	1.18
+++ cfstok.h	5 Mar 2010 06:32:50 -0000	1.19
@@ -370,8 +370,12 @@
 #ifdef SSI_RANGE_TOKENS
 	range_tcb_t sct_rtcb[CFSTOK_NRANGE];
 #endif
-	struct inode *sct_ip;		/* physical file system inode */
 	struct dentry *sct_dp;		/* Physcial dentry for ISDIR only */
+#ifdef SVRCFSTOK_SCT_IP_MACRO
+#define sct_ip sct_dp->d_inode
+#else
+	struct inode *sct_ip;		/* physical file system inode */
+#endif
 	struct file *sct_fp;		/* optional struct file for locking */
 	u_long sct_vn;		/* Directory change generation number */
 #ifdef SSI_EXNFS


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev