]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/linux/fsnotify_backend.h
fanotify: on group destroy allow all waiters to bypass permission check
[karo-tx-linux.git] / include / linux / fsnotify_backend.h
index 0a68f924f06fcf3f6f75727f382971bc16e5608f..7380763595d30accb255728f45682550cc540d63 100644 (file)
@@ -166,7 +166,7 @@ struct fsnotify_group {
                        struct mutex access_mutex;
                        struct list_head access_list;
                        wait_queue_head_t access_waitq;
-                       bool bypass_perm; /* protected by access_mutex */
+                       atomic_t bypass_perm;
 #endif /* CONFIG_FANOTIFY_ACCESS_PERMISSIONS */
                        int f_flags;
                        unsigned int max_marks;