ptrace: annotate lock context change on exit_ptrace()
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Oct 2010 22:33:44 +0000 (15:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:10 +0000 (18:03 -0700)
commitc4b5ed250eebf854d40f27b43362c80f115cb57a
tree870b5385ea51c0afbf3865fe6d7e3de3130dbbbe
parent26174efd42100eefac67732c0c12f41a205fa335
ptrace: annotate lock context change on exit_ptrace()

exit_ptrace() releases and regrabs tasklist_lock but was missing proper
annotation.  Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@redhat.com
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/ptrace.c