]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Clean up inotify delete race fix
authorJohn McCutchan <ttb@tentacle.dhs.org>
Fri, 5 Aug 2005 01:12:54 +0000 (21:12 -0400)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 5 Aug 2005 04:37:39 +0000 (21:37 -0700)
commit0c3dba1534569734ba353afdf3f11def497ff2ac
treeec52740643c710072aab5122e96851c63ed049a0
parentf10eff26831159f52353e8f15c37cdb2935d5fbf
[PATCH] Clean up inotify delete race fix

This avoids the whole #ifdef mess by just getting a copy of
dentry->d_inode before d_delete is called - that makes the codepaths the
same for the INOTIFY/DNOTIFY cases as for the regular no-notify case.
I've been running this under a Gnome session for the last 10 minutes.
Inotify is being used extensively.

Signed-off-by: John McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/namei.c
include/linux/fsnotify.h