]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: handle filesystem unmounts with fsnotify marks
authorEric Paris <eparis@redhat.com>
Thu, 21 May 2009 21:01:58 +0000 (17:01 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 11 Jun 2009 18:57:54 +0000 (14:57 -0400)
commit2bfb73cc88dd800d0408e8444e33c4ec934e4e72
treefdc0e31f9dc15796a4777ed917533091797b8b69
parentfb155fae9304b55eae6c281e1dba7b571a9b2433
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