fsnotify: make fasync generic for both inotify and fanotify
authorEric Paris <eparis@redhat.com>
Fri, 14 Oct 2011 21:43:39 +0000 (17:43 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 11 Dec 2012 18:44:36 +0000 (13:44 -0500)
commit0a6b6bd5919a65030b557ec8fe81f6fb3e93744a
tree940e38b5cc9d7fdb5804748842b555af554ed32f
parent6960b0d909cde5bdff49e4e5c1250edd10be7ebd
fsnotify: make fasync generic for both inotify and fanotify

inotify is supposed to support async signal notification when information
is available on the inotify fd.  This patch moves that support to generic
fsnotify functions so it can be used by all notification mechanisms.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/notify/fanotify/fanotify_user.c
fs/notify/group.c
fs/notify/inotify/inotify_user.c
fs/notify/notification.c
include/linux/fsnotify_backend.h