]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] inotify: fix file deletion by rename detection
authorJohn McCutchan <ttb@tentacle.dhs.org>
Mon, 1 Aug 2005 15:00:45 +0000 (11:00 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 1 Aug 2005 16:16:53 +0000 (09:16 -0700)
commit7544953685859875b5ac0260b6b1856066c092d6
treeacfe43ff758f7d7a6d0c575ca0e4f343b3640984
parentbe2ac68f7b66e90b8d25c168fc4d033b034f5c43
[PATCH] inotify: fix file deletion by rename detection

When a file is moved over an existing file that you are watching,
inotify won't send you a DELETE_SELF event and it won't unref the inode
until the inotify instance is closed by the application.

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>
fs/namei.c
include/linux/fsnotify.h