]> git.baikalelectronics.ru Git - kernel.git/commit
fsnotify: per group notification queue merge types
authorEric Paris <eparis@redhat.com>
Fri, 18 Dec 2009 02:24:21 +0000 (21:24 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:58:49 +0000 (09:58 -0400)
commit32f5c1a1d41d6fd79aa732a188381419ee2efda7
tree724dbee0d1e7794401e2d3bdd3c17fd2ce3e4635
parent0eee89a31673dc7f47b58e018147cf7b083495e5
fsnotify: per group notification queue merge types

inotify only wishes to merge a new event with the last event on the
notification fifo.  fanotify is willing to merge any events including by
means of bitwise OR masks of multiple events together.  This patch moves
the inotify event merging logic out of the generic fsnotify notification.c
and into the inotify code.  This allows each use of fsnotify to provide
their own merge functionality.

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