diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2009-12-17 21:24:29 -0500 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2010-07-28 09:58:59 -0400 |
commit | 33d3dfff451a2ab6fe2f6aaabed9b24e91aad109 (patch) | |
tree | a947ac296cdd30035ef1901fcd99f87756479f07 /fs/notify/fanotify/fanotify.c | |
parent | 88380fe66e0ac22529f5426ab27d67da00ed2628 (diff) | |
download | op-kernel-dev-33d3dfff451a2ab6fe2f6aaabed9b24e91aad109.zip op-kernel-dev-33d3dfff451a2ab6fe2f6aaabed9b24e91aad109.tar.gz |
fanotify: remove outgoing function checks in fanotify.h
A number of validity checks on outgoing data are done in static inlines but
are only used in one place. Instead just do them where they are used for
readability.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/notify/fanotify/fanotify.c')
-rw-r--r-- | fs/notify/fanotify/fanotify.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/notify/fanotify/fanotify.c b/fs/notify/fanotify/fanotify.c index 202be8a..f690002 100644 --- a/fs/notify/fanotify/fanotify.c +++ b/fs/notify/fanotify/fanotify.c @@ -1,3 +1,4 @@ +#include <linux/fanotify.h> #include <linux/fdtable.h> #include <linux/fsnotify_backend.h> #include <linux/init.h> @@ -5,8 +6,6 @@ #include <linux/mount.h> #include <linux/types.h> -#include "fanotify.h" - static bool should_merge(struct fsnotify_event *old, struct fsnotify_event *new) { pr_debug("%s: old=%p new=%p\n", __func__, old, new); |