diff options
author | Eric Paris <eparis@redhat.com> | 2009-07-13 21:56:55 +0200 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2009-07-21 21:26:26 +0200 |
commit | c05594b62125c528d93af3a78229793aae36df7f (patch) | |
tree | 2e9b2ba0ea63d3587cb3c6dc7d72e7a202aade52 /Documentation/debugging-modules.txt | |
parent | inotify: check filename before dropping repeat events (diff) | |
download | linux-c05594b62125c528d93af3a78229793aae36df7f.tar.xz linux-c05594b62125c528d93af3a78229793aae36df7f.zip |
fsnotify: fix inotify tail drop check with path entries
fsnotify drops new events when they are the same as the tail event on the
queue to be sent to userspace. The problem is that if the event comes with
a path we forget to break out of the switch statement and fall into the
code path which matches on events that do not have any type of file backed
information (things like IN_UNMOUNT and IN_Q_OVERFLOW). The problem is
that this code thinks all such events should be dropped. Fix is to add a
break.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'Documentation/debugging-modules.txt')
0 files changed, 0 insertions, 0 deletions