]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: use an explicit flag to indicate fsnotify_destroy_mark has been called
authorEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:38 +0000 (10:18 -0400)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:52 +0000 (10:18 -0400)
commitc9e5e5f351871985e69e2fe8f1e26fe103d843e7
tree08b7969486c0039495684a6c13bbac3124a40348
parent771f2c0e5dc99bf8e77faaa739cb2549e79dd6ef
fsnotify: use an explicit flag to indicate fsnotify_destroy_mark has been called

Currently fsnotify check is mark->group is NULL to decide if
fsnotify_destroy_mark() has already been called or not.  With the upcoming
rcu work it is a heck of a lot easier to use an explicit flag than worry
about group being set to NULL.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/inode_mark.c
fs/notify/mark.c
fs/notify/vfsmount_mark.c
include/linux/fsnotify_backend.h