diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-12-15 16:47:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-16 07:20:08 -0800 |
commit | c6a47cc2ccf9649ee09eeddd70a6d061bde69568 (patch) | |
tree | b5ff696302607cd8f325199f84f88448e6475b84 /lib/decompress.c | |
parent | aa20d489ceb024f91aae084ee00c47fc6a12255c (diff) | |
download | linux-stable-c6a47cc2ccf9649ee09eeddd70a6d061bde69568.tar.gz linux-stable-c6a47cc2ccf9649ee09eeddd70a6d061bde69568.tar.bz2 linux-stable-c6a47cc2ccf9649ee09eeddd70a6d061bde69568.zip |
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 <oleg@redhat.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/decompress.c')
0 files changed, 0 insertions, 0 deletions