diff options
| author | Namhyung Kim <[email protected]> | 2010-10-26 21:22:43 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-26 23:52:15 +0000 |
| commit | 571428be550fbe37160596995e96ad398873fcbd (patch) | |
| tree | eddfb410db3ae0260f5a0a5d4301869ba02779e9 /net/unix/af_unix.c | |
| parent | init: mark __user address space on string literals (diff) | |
| download | kernel-571428be550fbe37160596995e96ad398873fcbd.tar.gz kernel-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 <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Dhaval Giani <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
