fsnotify: handle filesystem unmounts with fsnotify marks
commit164bc6195139047faaf5ada1278332e99494803b
authorEric Paris <eparis@redhat.com>
Thu, 21 May 2009 21:01:58 +0000 (21 17:01 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 18:57:54 +0000 (11 14:57 -0400)
treefdc0e31f9dc15796a4777ed917533091797b8b69
parent1ef5f13c6c8acd3fd10db9f1743f3b4cf30a4abb
fsnotify: handle filesystem unmounts with fsnotify marks

When an fs is unmounted with an fsnotify mark entry attached to one of its
inodes we need to destroy that mark entry and we also (like inotify) send
an unmount event.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
fs/inode.c
fs/notify/inode_mark.c
include/linux/fsnotify_backend.h