From: Namhyung Kim Date: Tue, 26 Oct 2010 21:22:43 +0000 (-0700) Subject: kernel/user.c: add lock release annotation on free_user() X-Git-Tag: v2.6.37-rc1~105^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=571428be550fbe37160596995e96ad398873fcbd;p=pandora-kernel.git kernel/user.c: add lock release annotation on free_user() free_user() releases uidhash_lock but was missing annotation. Add it. This removes following sparse warnings: include/linux/spinlock.h:339:9: warning: context imbalance in 'free_user' - unexpected unlock kernel/user.c:120:6: warning: context imbalance in 'free_uid' - wrong count at exit Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Dhaval Giani Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed