Amir Goldstein
1dc3c17cdb
fsnotify: generalize handling of extra event flags
...
commit 007d1e8395eaa59b0e7ad9eb2b53a40859446a88 upstream.
FS_EVENT_ON_CHILD gets a special treatment in fsnotify() because it is
not a flag specifying an event type, but rather an extra flags that may
be reported along with another event and control the handling of the
event by the backend.
FS_ISDIR is also an "extra flag" and not an "event type" and therefore
desrves the same treatment. With inotify/dnotify backends it was never
possible to set FS_ISDIR in mark masks, so it did not matter.
With fanotify backend, mark adding code jumps through hoops to avoid
setting the FS_ISDIR in the commulative object mask.
Separate the constant ALL_FSNOTIFY_EVENTS to ALL_FSNOTIFY_FLAGS and
ALL_FSNOTIFY_EVENTS, so the latter can be used to test for specific
event types.
Signed-off-by: Amir Goldstein <amir73il@gmail.com >
Signed-off-by: Jan Kara <jack@suse.cz >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-12-01 09:37:31 +01:00
..
2018-03-31 01:33:09 +08:00
2018-12-01 09:37:29 +01:00
2018-11-21 09:19:16 +01:00
2018-08-18 15:55:59 -07:00
2018-09-30 08:49:55 -07:00
2018-10-10 14:03:27 +02:00
2018-08-22 14:07:56 +02:00
2018-09-10 16:58:36 +01:00
2018-07-12 17:37:13 -07:00
2018-10-10 18:26:16 -07:00
2018-11-27 16:13:05 +01:00
2018-11-27 16:13:03 +01:00
2018-10-12 15:25:17 +01:00
2018-08-26 17:45:25 -07:00
2018-09-03 16:10:40 +01:00
2018-08-22 12:34:08 -07:00
2018-08-23 13:44:43 -07:00
2018-09-28 18:04:06 -07:00
2018-08-23 16:03:58 -07:00
2018-11-27 16:13:09 +01:00
2018-08-22 08:08:27 -07:00
2018-08-30 14:18:03 +01:00
2017-11-02 11:10:55 +01:00
2018-06-17 08:27:01 +09:00
2018-08-22 10:52:46 -07:00
2018-08-22 10:52:46 -07:00
2018-08-17 16:20:27 -07:00
2018-08-22 10:52:48 -07:00
2018-08-31 14:48:56 -06:00
2018-09-11 10:59:53 -06:00
2017-11-02 11:10:55 +01:00
2018-11-13 11:08:14 -08:00
2018-06-01 18:37:33 -07:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-10-04 13:28:08 -07:00
2018-08-17 16:20:32 -07:00
2018-11-13 11:08:25 -08:00
2018-09-20 15:23:58 +02:00
2018-08-22 17:31:34 -07:00
2018-09-20 15:23:58 +02:00
2018-08-22 17:31:34 -07:00
2018-08-22 10:52:47 -07:00
2018-07-21 09:21:10 +02:00
2017-11-02 11:10:55 +01:00
2013-09-13 15:09:52 +02:00
2018-08-14 13:12:24 -07:00
2018-08-23 13:44:43 -07:00
2018-08-22 10:52:46 -07:00
2018-08-22 10:52:48 -07:00
2018-08-21 18:19:09 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-22 23:18:31 -07:00
2018-08-18 11:44:53 -07:00
2017-08-24 13:23:03 -07:00
2018-08-17 16:20:32 -07:00
2018-07-30 10:50:22 +05:30
2018-03-16 19:58:27 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-01 12:40:27 -07:00
2018-08-25 13:40:38 -07:00
2018-03-08 10:34:44 +09:00
2017-11-02 11:10:55 +01:00
2018-08-17 15:56:23 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-11-13 11:08:50 -08:00
2018-12-01 09:37:31 +01:00
2017-11-17 16:10:02 -08:00
2018-09-21 20:26:59 -06:00
2018-08-23 18:48:43 -07:00
2018-11-13 11:08:54 -08:00
2018-09-04 21:31:43 +02:00
2018-04-26 14:53:32 +02:00
2018-10-18 11:30:52 +02:00
2018-10-05 16:32:04 -07:00
2018-03-08 12:30:37 +01:00
2012-10-13 10:46:48 +01:00
2018-08-30 23:13:15 +02:00
2018-11-21 09:19:20 +01:00
2018-08-26 11:48:42 -07:00
2018-08-15 10:25:26 -07:00
2018-07-21 10:43:12 -05:00
2018-08-22 10:52:47 -07:00
2014-05-14 16:40:04 -07:00
2018-08-22 10:52:52 -07:00
2018-08-16 19:36:55 +02:00
2018-08-17 16:20:30 -07:00
2018-08-26 11:25:21 -07:00
2018-08-22 10:52:46 -07:00
2017-11-02 11:10:55 +01:00
2018-08-18 11:44:53 -07:00
2018-09-20 00:51:43 +02:00
2018-08-24 13:20:33 -07:00
2018-08-17 16:20:32 -07:00
2018-08-15 10:25:26 -07:00
2015-08-10 14:29:27 +05:30
2017-11-02 11:10:55 +01:00
2017-01-04 13:22:38 -07:00
2018-08-22 10:52:45 -07:00
2018-08-22 10:52:45 -07:00
2018-09-13 15:18:04 -10:00
2018-09-13 15:18:04 -10:00
2018-10-05 16:32:04 -07:00
2018-08-22 10:52:44 -07:00
2018-10-09 08:30:51 +02:00
2018-09-05 14:36:53 +02:00
2018-10-17 15:35:29 -04:00
2017-11-15 13:46:33 -08:00
2017-11-02 11:10:55 +01:00
2018-08-22 10:52:48 -07:00
2018-10-10 22:44:46 -07:00
2018-09-28 14:47:40 +02:00
2018-09-23 21:55:24 -07:00
2018-08-23 16:03:58 -07:00
2018-11-21 09:19:20 +01:00
2018-08-17 16:20:29 -07:00
2018-08-22 10:52:45 -07:00
2018-11-13 11:08:24 -08:00
2018-08-31 08:30:42 -04:00
2018-08-23 18:48:44 -07:00
2018-07-08 11:13:25 +09:00
2018-08-17 16:20:28 -07:00
2018-08-23 18:48:43 -07:00
2017-11-09 10:23:28 +01:00
2018-09-03 19:05:13 -07:00
2018-09-11 21:44:52 -05:00
2018-08-22 10:52:45 -07:00
2017-09-08 18:26:51 -07:00
2018-08-22 10:52:46 -07:00
2017-11-02 11:10:55 +01:00
2018-02-19 18:46:11 -05:00
2018-08-22 18:17:29 +02:00
2018-02-12 11:43:25 -05:00
2018-08-02 17:33:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-27 09:16:40 +01:00
2017-05-03 15:52:09 -07:00
2017-11-02 11:10:55 +01:00
2018-08-22 12:34:08 -07:00
2017-06-05 11:14:35 +01:00
2017-11-02 11:10:55 +01:00
2018-08-15 10:25:26 -07:00
2018-10-02 14:38:02 -07:00
2018-08-20 09:22:45 -07:00
2018-08-22 10:52:43 -07:00
2018-11-13 11:08:45 -08:00
2018-08-17 16:20:30 -07:00
2018-08-16 12:14:42 -07:00
2018-05-30 10:11:34 +02:00
2016-03-25 16:37:42 -07:00
2018-06-14 12:21:18 +09:00
2017-11-02 11:10:55 +01:00
2018-09-18 19:48:08 -07:00
2017-11-02 11:10:55 +01:00
2018-05-15 08:32:42 +02:00
2018-04-28 15:01:14 -07:00
2018-10-12 12:35:02 +02:00
2018-08-22 10:52:44 -07:00
2018-08-23 18:48:44 -07:00
2017-11-02 11:10:55 +01:00
2018-08-14 16:39:13 -07:00
2018-02-06 18:32:47 -08:00
2018-08-18 11:44:53 -07:00
2018-11-13 11:08:51 -08:00
2018-08-22 15:11:35 +02:00
2018-09-03 13:26:44 +02:00
2017-11-02 11:10:55 +01:00
2018-10-17 15:35:29 -04:00
2018-10-17 15:35:29 -04:00
2017-11-02 11:10:55 +01:00
2018-09-12 14:58:47 -07:00
2018-08-23 18:48:44 -07:00
2018-08-16 09:57:20 -07:00
2018-09-13 17:58:30 +02:00
2018-10-04 22:23:15 -07:00
2018-09-13 15:18:04 -10:00
2018-09-13 15:18:04 -10:00
2018-06-05 12:16:51 -07:00
2017-11-02 11:10:55 +01:00
2018-11-13 11:08:42 -08:00
2018-05-18 08:47:13 -07:00
2017-11-21 15:46:44 -08:00