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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sukadev@xxxxxxxxxx wrote:
> From: Sukadev Bhattiprolu <sukadev@xxxxxxxxxx>
> 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@xxxxxxxxxx>
---
 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)
 {
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxx
https://lists.osdl.org/mailman/listinfo/containers


[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux