]> bbs.cooldavid.org Git - net-next-2.6.git/commit
fsnotify: fsnotify_add_notify_event should return an event
authorEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:37 +0000 (10:18 -0400)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 14:18:50 +0000 (10:18 -0400)
commitf70ab54cc6c3907b0727ba332b3976f80f3846d0
tree2a22097325a668a0d08d4ea3354d0e6c95fddd86
parent5ba08e2eeb06355f66ed62ae97bb87d145973a9a
fsnotify: fsnotify_add_notify_event should return an event

Rather than the horrific void ** argument and such just to pass the
fanotify_merge event back to the caller of fsnotify_add_notify_event() have
those things return an event if it was different than the event suggusted to
be added.

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