Lorenzo Stoakes
20ca475d98
mm: rename call_mmap/mmap_prepare to vfs_mmap/mmap_prepare
...
The call_mmap() function violates the existing convention in
include/linux/fs.h whereby invocations of virtual file system hooks is
performed by functions prefixed with vfs_xxx().
Correct this by renaming call_mmap() to vfs_mmap(). This also avoids
confusion as to the fact that f_op->mmap_prepare may be invoked here.
Also rename __call_mmap_prepare() function to vfs_mmap_prepare() and adjust
to accept a file parameter, this is useful later for nested file systems.
Finally, fix up the VMA userland tests and ensure the mmap_prepare -> mmap
shim is implemented there.
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Link: https://lore.kernel.org/8d389f4994fa736aa8f9172bef8533c10a9e9011.1750099179.git.lorenzo.stoakes@oracle.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-06-17 13:35:23 +02:00
..
2025-06-09 07:16:32 -07:00
2025-06-13 13:39:15 -07:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-10 19:23:25 +02:00
2025-06-14 09:25:22 -07:00
2025-06-12 09:50:36 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-30 09:15:40 -07:00
2025-06-03 11:53:55 -07:00
2025-06-08 09:07:37 +02:00
2025-06-12 10:31:28 +05:30
2025-05-30 20:21:36 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-11 13:18:07 +02:00
2025-06-03 13:24:14 -07:00
2025-06-08 09:07:37 +02:00
2025-06-07 10:05:35 -07:00
2025-05-27 15:22:01 -07:00
2025-06-17 13:35:23 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-03 08:39:20 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-10 21:09:28 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-13 17:02:31 +02:00
2025-06-05 08:49:30 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-03 11:53:55 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-06-12 09:50:36 -07:00
2025-06-08 09:07:37 +02:00
2025-06-14 09:25:22 -07:00
2025-06-06 11:50:47 -07:00
2025-05-31 15:44:16 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 11:33:00 -07:00
2025-06-08 09:07:37 +02:00
2025-05-28 14:55:35 -07:00
2025-06-05 08:20:21 -07:00
2025-06-10 14:35:40 +02:00
2025-06-08 09:07:37 +02:00
2025-05-31 19:12:53 -07:00
2025-06-08 09:07:37 +02:00
2025-06-12 09:50:36 -07:00
2025-06-06 13:16:50 -07:00
2025-06-11 22:42:36 -07:00
2025-06-08 23:29:48 +01:00
2025-06-02 11:04:29 -07:00
2025-06-08 09:07:37 +02:00
2025-06-09 15:34:06 -04:00
2025-06-09 22:02:13 -04:00
2025-05-31 07:53:30 -07:00
2025-06-05 08:07:24 -07:00
2025-06-13 12:25:31 +01:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-27 16:28:02 -07:00
2025-06-08 09:07:37 +02:00
2025-06-09 15:34:06 -04:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00
2025-05-27 10:27:53 -04:00
2025-06-04 11:26:17 -07:00
2025-05-29 08:15:35 -07:00
2025-06-08 09:07:37 +02:00
2025-06-08 09:07:37 +02:00
2025-05-27 10:27:54 -04:00
2025-06-06 11:50:47 -07:00
2025-06-08 09:07:37 +02:00