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.h | |
parent | 88380fe66e0ac22529f5426ab27d67da00ed2628 (diff) |
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.h')
-rw-r--r-- | fs/notify/fanotify/fanotify.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/fs/notify/fanotify/fanotify.h b/fs/notify/fanotify/fanotify.h deleted file mode 100644 index 4d5723a74a8e..000000000000 --- a/fs/notify/fanotify/fanotify.h +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | #include <linux/fanotify.h> | ||
2 | #include <linux/fsnotify_backend.h> | ||
3 | #include <linux/net.h> | ||
4 | #include <linux/kernel.h> | ||
5 | #include <linux/types.h> | ||
6 | |||
7 | extern const struct fsnotify_ops fanotify_fsnotify_ops; | ||
8 | |||
9 | static inline __u32 fanotify_outgoing_mask(__u32 mask) | ||
10 | { | ||
11 | return mask & FAN_ALL_OUTGOING_EVENTS; | ||
12 | } | ||