commit | 0c3dba1534569734ba353afdf3f11def497ff2ac | [log] [tgz] |
---|---|---|
author | John McCutchan <ttb@tentacle.dhs.org> | Thu Aug 04 21:12:54 2005 -0400 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Thu Aug 04 21:37:39 2005 -0700 |
tree | ec52740643c710072aab5122e96851c63ed049a0 | |
parent | f10eff26831159f52353e8f15c37cdb2935d5fbf [diff] |
[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>