aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2009-08-17 01:51:44 +0000
committerLinus Torvalds <[email protected]>2009-08-17 20:37:37 +0000
commiteef3a116be11d35396efb2a8cc7345fd3221e294 (patch)
tree2a5d0b36dd5985f29eac43f51b03e610e40b7c9b /lib/dma-debug.c
parentMerge master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadkernel-eef3a116be11d35396efb2a8cc7345fd3221e294.tar.gz
kernel-eef3a116be11d35396efb2a8cc7345fd3221e294.zip
notify: unused event private race
inotify decides if private data it passed to get added to an event was used by checking list_empty(). But it's possible that the event may have been dequeued and the private event removed so it would look empty. The fix is to use the return code from fsnotify_add_notify_event rather than looking at the list. Signed-off-by: Eric Paris <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions