summaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorNamhyung Kim2010-10-26 23:22:43 +0200
committerLinus Torvalds2010-10-27 01:52:15 +0200
commit571428be550fbe37160596995e96ad398873fcbd (patch)
treeeddfb410db3ae0260f5a0a5d4301869ba02779e9 /fs/file_table.c
parentinit: mark __user address space on string literals (diff)
downloadkernel-qcow2-linux-571428be550fbe37160596995e96ad398873fcbd.tar.gz
kernel-qcow2-linux-571428be550fbe37160596995e96ad398873fcbd.tar.xz
kernel-qcow2-linux-571428be550fbe37160596995e96ad398873fcbd.zip
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 <namhyung@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Dhaval Giani <dhaval.giani@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions