summaryrefslogtreecommitdiffstats
path: root/Documentation/ibm-acpi.txt
diff options
context:
space:
mode:
authorJohn McCutchan <ttb@tentacle.dhs.org>2005-08-01 11:00:45 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-01 09:16:53 -0700
commitb9c55d29e9fced1eb1b4c252b2efd4b55a0c3c7f (patch)
tree3fc1fe1e0f40d673d9675a3db5b84ca00b81eaea /Documentation/ibm-acpi.txt
parent7544953685859875b5ac0260b6b1856066c092d6 (diff)
downloadop-kernel-dev-b9c55d29e9fced1eb1b4c252b2efd4b55a0c3c7f.zip
op-kernel-dev-b9c55d29e9fced1eb1b4c252b2efd4b55a0c3c7f.tar.gz
[PATCH] inotify: fix race between the kernel and user space
When you rm a watch, an IN_IGNORED event is sent down the event queue with the watch descriptor that you just rm'd. If you then add a watch you could get the ignored watch's wd and if you haven't read the entire event queue, user space will think that it's newly created watch was just ignored. To avoid this problem we just use idr_get_new_above instead of idr_get_new. Signed-off-by: John McCutchan <ttb@tentacle.dhs.org> Signed-off-by: Robert Love <rml@novell.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/ibm-acpi.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud