[SSI] openssi/kernel/cluster/ssi/vproc dvp_pvpops.c,1.46,1.47
Roger Tsang <[email protected]> Wed, 15 Dec 2010 06:55:19 +0000
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/vproc
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv11853/kernel/cluster/ssi/vproc
Modified Files:
Tag: OPENSSI-FC
dvp_pvpops.c
Log Message:
pvpop_procfs_readfd: use get_files_struct()
Index: dvp_pvpops.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/vproc/dvp_pvpops.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- dvp_pvpops.c 5 Mar 2010 05:44:40 -0000 1.46
+++ dvp_pvpops.c 15 Dec 2010 06:55:17 -0000 1.47
@@ -4587,11 +4587,7 @@
goto out;
}
#endif
- task_lock(task);
- files = task->files;
- if (files)
- atomic_inc(&files->count);
- task_unlock(task);
+ files = get_files_struct(task);
#ifndef VPROC_HOLD_ZERO_GET_TASK
#ifdef VPROC_RW_LOCK
VPROC_UNLOCK_SHARED(v, "pvpop_proc_readfd");
------------------------------------------------------------------------------
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