aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fsnotify_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fsnotify_backend.h')
-rw-r--r--include/linux/fsnotify_backend.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/fsnotify_backend.h b/include/linux/fsnotify_backend.h
index a46355db1e47..a83859d7d36e 100644
--- a/include/linux/fsnotify_backend.h
+++ b/include/linux/fsnotify_backend.h
@@ -169,14 +169,17 @@ struct fsnotify_group {
169 struct user_struct *user; 169 struct user_struct *user;
170 } inotify_data; 170 } inotify_data;
171#endif 171#endif
172#ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONS 172#ifdef CONFIG_FANOTIFY
173 struct fanotify_group_private_data { 173 struct fanotify_group_private_data {
174#ifdef CONFIG_FANOTIFY_ACCESS_PERMISSIONS
174 /* allows a group to block waiting for a userspace response */ 175 /* allows a group to block waiting for a userspace response */
175 struct mutex access_mutex; 176 struct mutex access_mutex;
176 struct list_head access_list; 177 struct list_head access_list;
177 wait_queue_head_t access_waitq; 178 wait_queue_head_t access_waitq;
179#endif /* CONFIG_FANOTIFY_ACCESS_PERMISSIONS */
180 int f_flags;
178 } fanotify_data; 181 } fanotify_data;
179#endif 182#endif /* CONFIG_FANOTIFY */
180 }; 183 };
181}; 184};
182 185