[SSI] openssi/kernel/fs/proc base.c,1.25,1.26

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

Modified Files:
      Tag: OPENSSI-FC
	base.c 
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: base.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/fs/proc/base.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- base.c	24 Mar 2009 04:26:29 -0000	1.25
+++ base.c	28 Mar 2009 23:44:16 -0000	1.26
@@ -2642,7 +2642,7 @@
 #ifdef PROC_LARGE_MAXPIDS
 	unsigned int __tgid_array[PROC_MAXPIDS];
 	unsigned int *tgid_array;
-	int localview = PVP(current->p_vproc)->pvp_localview;
+	int localview = ssi_get_localview();
 #else
 	unsigned int tgid_array[PROC_MAXPIDS];
 #endif


------------------------------------------------------------------------------
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.