diff options
Diffstat (limited to 'include/linux/fsnotify_backend.h')
| -rw-r--r-- | include/linux/fsnotify_backend.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h index e40190d16878..825329534162 100644 --- a/include/linux/fsnotify_backend.h +++ b/include/linux/fsnotify_backend.h | |||
| @@ -129,6 +129,14 @@ struct fsnotify_group { | |||
| 129 | wait_queue_head_t notification_waitq; /* read() on the notification file blocks on this waitq */ | 129 | wait_queue_head_t notification_waitq; /* read() on the notification file blocks on this waitq */ |
| 130 | unsigned int q_len; /* events on the queue */ | 130 | unsigned int q_len; /* events on the queue */ |
| 131 | unsigned int max_events; /* maximum events allowed on the list */ | 131 | unsigned int max_events; /* maximum events allowed on the list */ |
| 132 | /* | ||
| 133 | * Valid fsnotify group priorities. Events are send in order from highest | ||
| 134 | * priority to lowest priority. We default to the lowest priority. | ||
| 135 | */ | ||
| 136 | #define FS_PRIO_0 0 /* normal notifiers, no permissions */ | ||
| 137 | #define FS_PRIO_1 1 /* fanotify content based access control */ | ||
| 138 | #define FS_PRIO_2 2 /* fanotify pre-content access */ | ||
| 139 | unsigned int priority; | ||
| 132 | 140 | ||
| 133 | /* stores all fastpath marks assoc with this group so they can be cleaned on unregister */ | 141 | /* stores all fastpath marks assoc with this group so they can be cleaned on unregister */ |
| 134 | spinlock_t mark_lock; /* protect marks_list */ | 142 | spinlock_t mark_lock; /* protect marks_list */ |
