Alessio Balsini
54b41388f5
ANDROID: vfs: add d_canonical_path for stacked filesystem support
...
Inotify does not currently know when a filesystem is acting as a wrapper
around another fs. This means that inotify watchers will miss any
modifications to the base file, as well as any made in a separate stacked
fs that points to the same file.
d_canonical_path solves this problem by allowing the fs to map a dentry to
a path in the lower fs. Inotify can use it to find the appropriate place to
watch to be informed of all changes to a file.
Test: Pixel 4.19
Bug: 171780975
Change-Id: I09563baffad1711a045e45c1bd0bd8713c2cc0b6
Signed-off-by: Daniel Rosenberg <drosen@google.com >
[astrachan: Folded 34df4102216e ("ANDROID: fsnotify: Notify lower fs of
open") into this patch]
Signed-off-by: Alistair Strachan <astrachan@google.com >
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org >
Signed-off-by: Alessio Balsini <balsini@google.com >
2020-11-09 13:11:29 +00:00
..
2020-04-02 15:28:16 +02:00
2020-03-10 11:07:35 -07:00
2020-04-29 16:31:24 +02:00
2020-06-03 08:19:11 +02:00
2020-10-01 16:49:05 +02:00
2020-11-05 11:08:34 +01:00
2020-09-17 13:59:19 +02:00
2020-06-30 23:17:12 -04:00
2020-04-02 16:27:12 -07:00
2020-10-29 11:36:20 +01:00
2020-06-22 09:05:29 +02:00
2020-11-05 14:02:27 +01:00
2020-05-01 15:18:11 +02:00
2020-04-06 16:26:54 -07:00
2020-05-14 15:44:27 -07:00
2020-05-01 15:18:12 +02:00
2020-08-19 08:15:05 +02:00
2020-06-25 15:33:02 +02:00
2020-04-27 22:51:59 -07:00
2020-05-30 00:09:49 +00:00
2020-05-14 15:44:27 -07:00
2020-04-29 17:26:17 +02:00
2020-04-29 16:31:17 +02:00
2020-04-01 16:26:56 -07:00
2020-04-23 10:30:12 +02:00
2020-09-09 19:04:31 +02:00
2020-08-26 15:35:17 -07:00
2020-08-26 15:35:17 -07:00
2020-04-02 16:27:12 -07:00
2020-04-27 22:52:00 -07:00
2020-04-07 21:31:57 +00:00
2020-05-20 11:37:46 +02:00
2020-04-27 22:51:59 -07:00
2020-04-17 03:23:39 +00:00
2020-04-16 18:12:07 +00:00
2020-11-09 13:11:29 +00:00
2020-10-01 13:14:28 +02:00
2020-04-17 10:48:45 +02:00
2020-04-22 15:31:42 +00:00
2020-07-29 13:22:30 +02:00
2020-08-13 21:50:48 -07:00
2020-06-15 15:50:57 -07:00
2020-05-01 21:57:17 -07:00
2020-05-01 21:56:54 -07:00
2020-05-03 08:45:31 +02:00
2020-03-16 18:10:51 +00:00
2020-02-24 08:34:44 +01:00
2020-09-03 11:24:23 +02:00
2020-05-01 15:18:13 +02:00
2020-06-27 09:50:13 +02:00
2020-05-03 08:45:31 +02:00
2020-05-15 10:16:16 +01:00
2020-06-24 03:08:55 +00:00
2020-04-13 15:24:19 +00:00
2020-07-17 07:54:52 +02:00
2020-10-14 10:31:21 +02:00
2020-09-03 11:24:28 +02:00
2020-11-05 11:08:35 +01:00
2020-11-09 13:11:29 +00:00
2020-06-16 14:07:40 -07:00
2020-03-25 08:06:14 +01:00
2020-08-13 21:50:48 -07:00
2020-06-27 09:50:13 +02:00
2020-03-04 12:01:17 -08:00
2020-04-17 20:26:06 +00:00
2020-09-09 19:04:22 +02:00
2020-03-04 12:01:17 -08:00
2020-11-05 11:08:54 +01:00
2020-04-27 22:51:55 -07:00
2020-05-03 08:45:31 +02:00
2020-08-11 15:32:33 +02:00
2020-09-23 12:10:59 +02:00
2020-10-25 11:48:10 +01:00
2020-05-10 10:30:12 +02:00
2020-07-22 09:32:00 +02:00
2020-03-18 07:14:11 +01:00
2020-03-12 10:46:18 -07:00
2020-08-21 11:05:36 +02:00
2020-02-28 16:38:59 +01:00
2020-07-29 10:16:57 +02:00
2020-05-01 21:56:54 -07:00
2020-05-01 21:57:17 -07:00
2020-05-10 10:30:11 +02:00
2020-04-17 10:48:41 +02:00
2020-05-03 08:45:31 +02:00
2020-05-01 21:57:17 -07:00
2020-05-03 08:45:31 +02:00
2020-05-01 21:57:17 -07:00
2020-05-03 08:45:31 +02:00
2020-08-21 13:01:46 +02:00
2020-05-03 08:45:30 +02:00
2020-04-27 22:52:00 -07:00
2020-07-16 08:17:26 +02:00
2020-04-27 22:51:59 -07:00
2020-05-03 08:45:30 +02:00
2020-04-23 10:30:24 +02:00
2020-02-12 21:26:18 -08:00
2020-05-14 15:44:27 -07:00
2020-06-22 09:05:15 +02:00
2020-10-14 10:31:26 +02:00
2020-05-03 08:45:30 +02:00
2020-06-25 15:33:10 +02:00
2020-04-27 22:52:00 -07:00
2020-06-22 09:05:04 +02:00
2020-04-29 16:31:19 +02:00
2020-10-01 13:14:54 +02:00
2020-04-27 22:51:59 -07:00
2020-02-24 08:34:46 +01:00
2020-09-09 19:48:58 +02:00
2020-04-27 22:52:00 -07:00
2020-03-26 14:45:13 -07:00
2020-05-30 00:09:49 +00:00
2020-04-08 14:34:09 -07:00
2020-05-01 15:18:12 +02:00
2020-10-07 08:45:35 +02:00
2020-05-03 08:45:30 +02:00
2020-10-07 08:45:35 +02:00
2020-07-29 10:16:52 +02:00
2020-05-01 15:18:11 +02:00
2020-05-01 15:18:12 +02:00
2020-06-27 15:17:42 +02:00
2020-05-03 08:45:31 +02:00
2020-07-01 13:11:06 +02:00
2020-10-01 13:14:41 +02:00
2020-10-07 08:00:08 +02:00
2020-04-13 10:45:06 +02:00
2020-04-17 10:48:45 +02:00
2020-04-16 12:19:26 -07:00
2020-04-16 12:19:27 -07:00
2020-04-13 16:30:04 -07:00
2020-03-09 11:32:04 -07:00
2020-10-29 09:55:15 +01:00
2020-10-30 10:38:20 +01:00
2020-05-27 17:37:35 +02:00
2020-03-25 09:50:38 +01:00
2020-04-17 22:51:44 -07:00
2020-06-16 12:51:47 -07:00
2020-06-22 09:05:25 +02:00
2020-04-17 10:48:46 +02:00
2020-10-01 16:49:05 +02:00
2020-04-23 10:30:20 +02:00
2020-04-01 15:20:11 -07:00
2020-05-01 15:18:11 +02:00
2020-04-08 16:37:25 +00:00
2020-05-20 08:18:45 +02:00
2020-08-06 12:16:08 -07:00
2020-08-07 09:36:21 +02:00
2020-07-22 13:03:12 +02:00
2020-03-12 14:22:55 -07:00
2020-04-03 15:23:59 -07:00
2020-05-03 08:45:29 +02:00
2020-08-07 10:09:24 +02:00
2020-02-24 08:34:46 +01:00
2020-04-17 05:00:40 +00:00
2020-04-08 00:21:27 -07:00
2020-04-01 15:20:12 -07:00
2020-08-12 19:35:27 -07:00
2020-04-02 15:28:22 +02:00
2020-10-01 13:14:30 +02:00
2020-03-13 15:27:58 +00:00
2020-06-22 09:05:03 +02:00
2020-10-25 13:40:05 +01:00
2020-06-22 10:50:54 +02:00
2020-04-17 10:48:43 +02:00
2020-03-23 17:13:57 -07:00
2020-04-23 10:30:19 +02:00
2020-07-31 18:37:48 +02:00
2020-04-13 17:46:47 -07:00
2020-07-20 21:00:57 +00:00
2020-04-27 22:52:00 -07:00
2020-04-27 22:52:00 -07:00
2020-04-27 22:52:00 -07:00
2020-10-25 11:48:11 +01:00
2020-05-03 08:45:29 +02:00
2020-08-19 08:14:47 +02:00
2020-05-20 08:18:45 +02:00
2020-09-09 19:48:58 +02:00
2020-02-28 03:35:36 +00:00
2020-05-01 15:18:12 +02:00
2020-05-03 08:45:29 +02:00
2020-06-30 23:17:00 -04:00
2020-10-07 08:00:05 +02:00
2020-04-10 19:40:27 +00:00
2020-04-29 17:26:17 +02:00
2020-04-02 15:28:23 +02:00
2020-04-17 22:51:44 -07:00
2020-04-09 15:27:37 +00:00
2020-05-01 15:18:12 +02:00
2020-08-11 17:03:22 +02:00