SOURCES (LINUX_2_6_20): linux-2.6-vs2.3.patch - fix for fs/proc/ba...

mguevara mguevara at pld-linux.org
Tue Jan 16 15:34:13 CET 2007


Author: mguevara                     Date: Tue Jan 16 14:34:13 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6_20
---- Log message:
- fix for fs/proc/base.c

---- Files affected:
SOURCES:
   linux-2.6-vs2.3.patch (1.2.2.18 -> 1.2.2.19) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-vs2.3.patch
diff -u SOURCES/linux-2.6-vs2.3.patch:1.2.2.18 SOURCES/linux-2.6-vs2.3.patch:1.2.2.19
--- SOURCES/linux-2.6-vs2.3.patch:1.2.2.18	Tue Jan 16 15:31:20 2007
+++ SOURCES/linux-2.6-vs2.3.patch	Tue Jan 16 15:34:08 2007
@@ -9795,8 +9795,8 @@
  int proc_pid_readdir(struct file * filp, void * dirent, filldir_t filldir)
  {
  	unsigned int nr = filp->f_pos - FIRST_PROCESS_ENTRY;
--	struct task_struct *reaper = get_proc_task(filp->f_dentry->d_inode);
-+	struct task_struct *reaper = get_proc_task_real(filp->f_dentry->d_inode);
+-	struct task_struct *reaper = get_proc_task(filp->f_path.dentry->d_inode);
++	struct task_struct *reaper = get_proc_task_real(filp->f_path.dentry->d_inode);
  	struct task_struct *task;
  	int tgid;
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/linux-2.6-vs2.3.patch?r1=1.2.2.18&r2=1.2.2.19&f=u



More information about the pld-cvs-commit mailing list