fanotify: remove fanotify.h declarations
fanotify_mark_validate functions are all needlessly declared in headers as static inlines. Instead just do the checks where they are needed for code readability. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Eric Paris <eparis@redhat.com>
This commit is contained in:

committed by
Eric Paris

parent
f3640192c0
commit
88380fe66e
@@ -47,13 +47,6 @@
|
||||
FAN_CLOSE |\
|
||||
FAN_OPEN)
|
||||
|
||||
/*
|
||||
* All legal FAN bits userspace can request (although possibly not all
|
||||
* at the same time.
|
||||
*/
|
||||
#define FAN_ALL_INCOMING_EVENTS (FAN_ALL_EVENTS |\
|
||||
FAN_EVENT_ON_CHILD)
|
||||
|
||||
#define FAN_ALL_OUTGOING_EVENTS (FAN_ALL_EVENTS |\
|
||||
FAN_Q_OVERFLOW)
|
||||
|
||||
|
Reference in New Issue
Block a user