aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/usb.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-10-02 02:17:27 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-02 07:57:15 -0700
commit43fa1adb9334bf4585cd53144eb5911488f85bc7 (patch)
tree64be64424e7db15e1872077f900870895ccac85b /drivers/usb/core/usb.h
parenta03fcb730b4fe7da14ca4405f23dbde717b1d2b9 (diff)
downloadmrst-s0i3-test-43fa1adb9334bf4585cd53144eb5911488f85bc7.tar.gz
mrst-s0i3-test-43fa1adb9334bf4585cd53144eb5911488f85bc7.tar.xz
mrst-s0i3-test-43fa1adb9334bf4585cd53144eb5911488f85bc7.zip
[PATCH] file: Add locking to f_getown
This has been needed for a long time, but now with the advent of a reference counted struct pid there are real consequences for getting this wrong. Someone I think it was Oleg Nesterov pointed out that this construct was missing locking, when I introduced struct pid. After taking time to review the locking construct already present I figured out which lock needs to be taken. The other paths that access f_owner.pid take either the f_owner read or the write lock. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Cc: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/usb/core/usb.h')
0 files changed, 0 insertions, 0 deletions