]> git.baikalelectronics.ru Git - kernel.git/commit
exit: add lock context annotation on find_new_reaper()
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Oct 2010 22:34:10 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:13 +0000 (18:03 -0700)
commit216768b353ef57f66ed331b32a69c66faafbeea4
tree382a6779f4eee476d86538372f0f6586d64ddb8b
parente5c6ccf1d74559b0240e1118a2ebb6113880af25
exit: add lock context annotation on find_new_reaper()

find_new_reaper() releases and regrabs tasklist_lock but was missing
proper annotations.  Add it.  This remove following sparse warning:

 warning: context imbalance in 'find_new_reaper' - unexpected unlock

Signed-off-by: Namhyung Kim <namhyung@gmail.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>
kernel/exit.c