From: Oleg Nesterov Date: Wed, 16 Dec 2009 00:47:15 +0000 (-0800) Subject: ptrace: cleanup ptrace_init_task()->ptrace_link() path X-Git-Tag: v2.6.33-rc1~71^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6a47cc2ccf9649ee09eeddd70a6d061bde69568;p=pandora-kernel.git ptrace: cleanup ptrace_init_task()->ptrace_link() path No functional changes. ptrace_init_task() looks confusing, as if we always auto-attach when "bool ptrace" argument is true, while in fact we attach only if current is traced. Make the code more explicit and kill now unused ptrace_link(). Signed-off-by: Oleg Nesterov Acked-by: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed