aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2009-10-14 20:54:03 +0800
committerEric Paris <eparis@redhat.com>2009-10-18 15:49:38 -0400
commit3de0ef4f2067da58fa5126d821a56dcb98cdb565 (patch)
treed88103aaf3e5ed019afef5b11d4241ecf3eb1cea /fs/proc
parentinotify: deprecate the inotify kernel interface (diff)
downloadlinux-dev-3de0ef4f2067da58fa5126d821a56dcb98cdb565.tar.xz
linux-dev-3de0ef4f2067da58fa5126d821a56dcb98cdb565.zip
inotify: fix coalesce duplicate events into a single event in special case
If we do rename a dir entry, like this: rename("/tmp/ino7UrgoJ.rename1", "/tmp/ino7UrgoJ.rename2") rename("/tmp/ino7UrgoJ.rename2", "/tmp/ino7UrgoJ") The duplicate events should be coalesced into a single event. But those two events do not be coalesced into a single event, due to some bad check in event_compare(). It can not match the two NULL inodes as the same event. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions