This file is indexed.

/usr/src/kernel-patches/lustre/patches/export-show_task-2.6-fc5.patch is in linux-patch-lustre 1.8.5+dfsg-3ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Index: linux-2.6.16.i686/kernel/sched.c
===================================================================
--- linux-2.6.16.i686.orig/kernel/sched.c	2006-05-30 15:47:15.000000000 +0800
+++ linux-2.6.16.i686/kernel/sched.c	2006-05-30 21:21:07.000000000 +0800
@@ -4240,7 +4240,7 @@
 	return list_entry(p->sibling.next,struct task_struct,sibling);
 }
 
-static void show_task(task_t *p)
+void show_task(task_t *p)
 {
 	task_t *relative;
 	unsigned state;
@@ -4290,9 +4290,10 @@
 	else
 		printk(" (NOTLB)\n");
 
-	if (state != TASK_RUNNING)
+	if (state != TASK_RUNNING || p == current)
 		show_stack(p, NULL);
 }
+EXPORT_SYMBOL(show_task);
 
 void show_state(void)
 {