summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-08-18 18:25:49 +0200
committerEric Paris <eparis@redhat.com>2010-08-23 02:09:41 +0200
commit5f3f259fa8f1d7969360acfad5307d03c2f53d63 (patch)
treef1f781b5ebae2c03d27bd1a36bbd808eab8c7402 /samples
parentfanotify: do not dereference inode_mark when it is unset (diff)
downloadlinux-5f3f259fa8f1d7969360acfad5307d03c2f53d63.tar.xz
linux-5f3f259fa8f1d7969360acfad5307d03c2f53d63.zip
fsnotify: reset used_inode and used_vfsmount on each pass
The fsnotify main loop has 2 booleans which tell if a particular mark was sent to the listeners or if it should be processed in the next pass. The problem is that the booleans were not reset on each traversal of the loop. So marks could get skipped even when they were not sent to the notifiers. Reported-by: Tvrtko Ursulin <tvrtko.ursulin@sophos.com> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions