[SSI] openssi/kernel/include/cluster/ssi/cfs cfs_fs.h,1.26,1.27

Roger Tsang <[email protected]> Wed, 15 Dec 2010 08:03:10 +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-serv24786/kernel/include/cluster/ssi/cfs

Modified Files:
      Tag: OPENSSI-FC
	cfs_fs.h 
Log Message:
cfs_fhget: convert to macro. reduce stack usage.
cfs_hpget: convert to macro. reduce stack usage.


Index: cfs_fs.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/cluster/ssi/cfs/cfs_fs.h,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- cfs_fs.h	15 Dec 2010 07:08:42 -0000	1.26
+++ cfs_fs.h	15 Dec 2010 08:03:08 -0000	1.27
@@ -189,12 +189,12 @@
 extern int cfs_sync_mapping(struct address_space *);
 #endif
 extern void cfs_zap_caches(struct inode *);
-extern struct inode *cfs_fhget(struct super_block *, struct cfsdirok *);
 extern struct inode *__cfs_fhget(struct super_block *, struct cfsdirok *,
 				 struct inode *);
-extern struct inode *cfs_hpget(struct super_block *, svrcfstok_t *);
+#define cfs_fhget(sb, cdrok) __cfs_fhget(sb, cdrok, NULL)
 extern struct inode *__cfs_hpget(struct super_block *, svrcfstok_t *,
 				 struct inode *);
+#define cfs_hpget(sb, hp) __cfs_hpget(sb, hp, NULL)
 extern int cfs_refresh_inode(struct inode *, struct cfs_fattr *);
 extern void cfs_update_attr(struct svrcfstok *, struct inode *, int);
 #define _cfs_permission(_inode, _mask) generic_permission(_inode, _mask, NULL)


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d