[SSI] openssi/kernel/include/linux ipc.h,1.2,1.3

Roger Tsang <[email protected]>
Newsgroups gmane.linux.cluster.ssic.cvs
Message-ID <[email protected]>
Update of /cvsroot/ssic-linux/openssi/kernel/include/linux
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv14613/include/linux

Modified Files:
      Tag: OPENSSI-FC
	ipc.h 
Log Message:
CFS:
- Fast path directory i_op->permission cfs_permission(); redundant since there is a recheck after token hold.

IPC:
- Fix [ ssic-linux-Bugs-2719607 ] memory leak in ipcname_gettotal() path; based on patch from John Hughes (hughesj).


Index: ipc.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/linux/ipc.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ipc.h	20 Oct 2004 03:23:36 -0000	1.2
+++ ipc.h	28 Mar 2009 23:44:16 -0000	1.3
@@ -71,6 +71,15 @@
 	void		*security;
 };
 
+#ifdef	CONFIG_SSI
+/* Return from ipcname_gettotal - mapping between ipc id and server node */
+struct ssi_nodeid_pair
+{
+	int		node_num;		/* clusternode_t */
+	key_t		ipc_id;
+};
+#endif
+
 #endif /* __KERNEL__ */
 
 #endif /* _LINUX_IPC_H */


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.