[Devel] [PATCH 4/4] Use task_pgrp() in autofs/autofs4

Cedric Le Goater clg at fr.ibm.com
Wed Feb 28 06:53:42 PST 2007


sukadev at us.ibm.com wrote:
> From: Sukadev Bhattiprolu <sukadev at us.ibm.com>
> Subject: [PATCH 4/4] Use task_pgrp() in autofs/autofs4
> 
> Replace process_group(tsk) with pid_nr(task_pgrp(tsk)) in autofs and autofs4.

you will need EXPORT_SYMBOL_GPL for pid_nr()

C.

Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
---
 kernel/pid.c |    1 +
 1 file changed, 1 insertion(+)

Index: 2.6.20/kernel/pid.c
===================================================================
--- 2.6.20.orig/kernel/pid.c
+++ 2.6.20/kernel/pid.c
@@ -263,6 +263,7 @@ pid_t pid_nr(struct pid *pid)
        return 0;
 }
 
+EXPORT_SYMBOL_GPL(pid_nr);
 
 struct pid_nr *alloc_pid_nr(struct pid_namespace *pid_ns)
 {



More information about the Containers mailing list