linux/fs/notify/inotify
Al Viro a4ffdde6e5 simplify checks for I_CLEAR/I_FREEING
add I_CLEAR instead of replacing I_FREEING with it.  I_CLEAR is
equivalent to I_FREEING for almost all code looking at either;
it's there to keep track of having called clear_inode() exactly
once per inode lifetime, at some point after having set I_FREEING.
I_CLEAR and I_FREEING never get set at the same time with the
current code, so we can switch to setting i_flags to I_FREEING | I_CLEAR
instead of I_CLEAR without loss of information.  As the result of
such change, checks become simpler and the amount of code that needs
to know about I_CLEAR shrinks a lot.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-08-09 16:47:44 -04:00
..
inotify.c simplify checks for I_CLEAR/I_FREEING 2010-08-09 16:47:44 -04:00
inotify.h inotify: inotify_destroy_mark_entry could get called twice 2009-06-19 12:42:48 -04:00
inotify_fsnotify.c inotify: don't leak user struct on inotify release 2010-05-14 11:53:36 -04:00
inotify_user.c inotify: race use after free/double free in inotify inode marks 2010-05-14 11:52:57 -04:00
Kconfig Inotify: undefined reference to `anon_inode_getfd' 2010-05-12 11:03:40 -04:00
Makefile inotify: reimplement inotify using fsnotify 2009-06-11 14:57:54 -04:00