diff --git a/Makefile b/Makefile index 9e2a3acb26cf..c2c6a3580e8a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 16 -SUBLEVEL = 70 +SUBLEVEL = 71 EXTRAVERSION = NAME = Museum of Fishiegoodies diff --git a/kernel/ptrace.c b/kernel/ptrace.c index 694e650e962d..22beef3e2160 100644 --- a/kernel/ptrace.c +++ b/kernel/ptrace.c @@ -80,9 +80,7 @@ void __ptrace_link(struct task_struct *child, struct task_struct *new_parent, */ static void ptrace_link(struct task_struct *child, struct task_struct *new_parent) { - rcu_read_lock(); - __ptrace_link(child, new_parent, __task_cred(new_parent)); - rcu_read_unlock(); + __ptrace_link(child, new_parent, current_cred()); } /**