]> bbs.cooldavid.org Git - net-next-2.6.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)
commit700307a29ad61090dcf1d45f8f4a135f5e9211ae
tree08b7969486c0039495684a6c13bbac3124a40348
parenta4c6e9961fcb9da54648d98978d33c6fdcb7bb45
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