Subject: patch for vs2.3.0.36.33 on 2.6.35.13
From: Corey Wright <undefined@pobox.com>
Date: Sat, 30 Apr 2011 21:30:21 -0500
Sat, 30 Apr 2011 21:30:21 -0500
applying patch-2.6.35.12-vs2.3.0.36.33.diff to 2.6.35.13 generated the
following rejects:

fs/proc/base.c
 * reaper variable initialization delayed until after validity check(s)

the attached patch applies the failed patches.

instructions
1. apply patch-2.6.35.12-vs2.3.0.36.33.diff to 2.6.35.13
2. apply attached patch-2.6.35.12-13-vs2.3.0.36.33-fixes.diff

tests
1. compile
2. testme.sh
3. testfs.sh (ext[234])
4. cgroups (cpu.shares)

corey
--
undefined@pobox.com


diff -urNpd linux-2.6.35.13-vs2.3.0.36.33.fail/fs/proc/base.c linux-2.6.35.13-vs2.3.0.36.33/fs/proc/base.c
--- linux-2.6.35.13-vs2.3.0.36.33.fail/fs/proc/base.c	2011-04-29 14:31:34.000000000
-0500
+++ linux-2.6.35.13-vs2.3.0.36.33/fs/proc/base.c	2011-04-29 15:13:26.000000000 -0500
@@ -2898,7 +2898,7 @@ int proc_pid_readdir(struct file * filp,
 		goto out_no_task;
 	nr = filp->f_pos - FIRST_PROCESS_ENTRY;
 
-	reaper = get_proc_task(filp->f_path.dentry->d_inode);
+	reaper = get_proc_task_real(filp->f_path.dentry->d_inode);
 	if (!reaper)
 		goto out_no_task;
 
diff -urNpd linux-2.6.35.13-vs2.3.0.36.33.fail/Makefile linux-2.6.35.13-vs2.3.0.36.33/Makefile
--- linux-2.6.35.13-vs2.3.0.36.33.fail/Makefile	2011-04-29 14:31:34.000000000 -0500
+++ linux-2.6.35.13-vs2.3.0.36.33/Makefile	2011-04-29 15:08:06.000000000 -0500
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 35
-EXTRAVERSION = .13
+EXTRAVERSION = .13-vs2.3.0.36.33
 NAME = Yokohama
 
 # *DOCUMENTATION*