summaryrefslogtreecommitdiffstats
path: root/fs/notify/fanotify/fanotify.h
blob: dd656cfab1ba2facee0082b0a1f8b61d6a57d4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <linux/fanotify.h>
#include <linux/fsnotify_backend.h>
#include <linux/net.h>
#include <linux/kernel.h>
#include <linux/types.h>

extern const struct fsnotify_ops fanotify_fsnotify_ops;

static inline bool fanotify_mask_valid(__u32 mask)
{
	if (mask & ~((__u32)FAN_ALL_INCOMING_EVENTS))
		return false;
	return true;
}