OSDN Git Service

inotify: send IN_UNMOUNT events
authorEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:37 +0000 (10:18 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Sep 2010 00:18:31 +0000 (17:18 -0700)
commitf4254199838237a0b7df93474cf6b4f46c0b0a4a
tree83a6cdde05aa68600417df631675d7986e8e42e9
parentb85ec83e1e6dc064f6623378a8f3b402a001ade7
inotify: send IN_UNMOUNT events

commit 611da04f7a31b2208e838be55a42c7a1310ae321 upstream.

Since the .31 or so notify rewrite inotify has not sent events about
inodes which are unmounted.  This patch restores those events.

Signed-off-by: Eric Paris <eparis@redhat.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/notify/inotify/inotify_user.c