diff options
| author | Ulisses Furquim <[email protected]> | 2008-02-08 12:18:16 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-02-08 17:22:22 +0000 |
| commit | ac74c00e499ed276a965e5b5600667d5dc04a84a (patch) | |
| tree | 81a34f797445a15b322ab48f9f69c272ef1e242d /fs/proc/array.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm (diff) | |
| download | kernel-ac74c00e499ed276a965e5b5600667d5dc04a84a.tar.gz kernel-ac74c00e499ed276a965e5b5600667d5dc04a84a.zip | |
inotify: fix check for one-shot watches before destroying them
As the IN_ONESHOT bit is never set when an event is sent we must check it
in the watch's mask and not in the event's mask.
Signed-off-by: Ulisses Furquim <[email protected]>
Reported-by: "Clem Taylor" <[email protected]>
Tested-by: "Clem Taylor" <[email protected]>
Cc: Amy Griffis <[email protected]>
Cc: Robert Love <[email protected]>
Cc: John McCutchan <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
