linux-kernelorg-stable/fs
Lorenzo Stoakes 9d5403b103
fs: convert most other generic_file_*mmap() users to .mmap_prepare()
Update nearly all generic_file_mmap() and generic_file_readonly_mmap()
callers to use generic_file_mmap_prepare() and
generic_file_readonly_mmap_prepare() respectively.

We update blkdev, 9p, afs, erofs, ext2, nfs, ntfs3, smb, ubifs and vboxsf
file systems this way.

Remaining users we cannot yet update are ecryptfs, fuse and cramfs. The
former two are nested file systems that must support any underlying file
ssytem, and cramfs inserts a mixed mapping which currently requires a VMA.

Once all file systems have been converted to mmap_prepare(), we can then
update nested file systems.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Link: https://lore.kernel.org/08db85970d89b17a995d2cffae96fb4cc462377f.1750099179.git.lorenzo.stoakes@oracle.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-06-19 13:56:57 +02:00
..
9p fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
adfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
affs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
afs fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
autofs
bcachefs bcachefs: Don't trace should_be_locked unless changing 2025-06-11 23:25:41 -04:00
befs
bfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
btrfs
cachefiles vfs-6.16-rc1.netfs 2025-06-02 15:04:06 -07:00
ceph A one-liner that leads to a startling (but also very much rational) 2025-06-06 17:56:19 -07:00
coda fs: consistently use can_mmap_file() helper 2025-06-17 13:47:22 +02:00
configfs - The 3 patch series "hung_task: extend blocking task stacktrace dump to 2025-05-31 19:12:53 -07:00
cramfs
crypto
debugfs
devpts
dlm treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
ecryptfs fs: consistently use can_mmap_file() helper 2025-06-17 13:47:22 +02:00
efivarfs
efs
erofs fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
exfat
exportfs readdir: supply dir_context.count as readdir buffer size hint 2025-05-29 12:31:23 +02:00
ext2 fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
ext4 fs/ext4: transition from deprecated .mmap hook to .mmap_prepare 2025-06-17 13:47:44 +02:00
f2fs f2fs-for-6.16-rc1 2025-05-30 08:40:25 -07:00
fat fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
freevxfs
fuse fuse update for 6.16 2025-06-02 15:31:05 -07:00
gfs2 gfs2: Don't clear sb->s_fs_info in gfs2_sys_fs_add 2025-05-30 19:20:20 +02:00
hfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
hfsplus fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
hostfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
hpfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
hugetlbfs
iomap
isofs
jbd2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
jffs2 fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
jfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
kernfs Driver core changes for 6.16-rc1 2025-05-29 09:11:39 -07:00
lockd
minix fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
netfs vfs-6.16-rc1.netfs 2025-06-02 15:04:06 -07:00
nfs fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
nfs_common nfs_localio: change nfsd_file_put_local() to take a pointer to __rcu pointer 2025-05-28 17:17:14 -04:00
nfsd NFS Clent Updates for Linux 6.16 2025-06-03 16:13:32 -07:00
nilfs2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
nls
notify \n 2025-05-29 10:34:26 -07:00
ntfs3 fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
ocfs2 treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
omfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
openpromfs
orangefs
overlayfs overlayfs update for 6.16 2025-06-06 17:54:09 -07:00
proc - The 3 patch series "hung_task: extend blocking task stacktrace dump to 2025-05-31 19:12:53 -07:00
pstore
qnx4
qnx6
quota
ramfs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
resctrl fs/resctrl: Restore the rdt_last_cmd_clear() calls after acquiring rdtgroup_mutex 2025-06-04 20:32:55 +02:00
romfs
smb fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
squashfs
sysfs
tests
tracefs
ubifs fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
udf
ufs fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
unicode
vboxsf fs: convert most other generic_file_*mmap() users to .mmap_prepare() 2025-06-19 13:56:57 +02:00
verity
xfs fs/xfs: transition from deprecated .mmap hook to .mmap_prepare 2025-06-17 13:47:44 +02:00
zonefs
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c
attr.c
backing-file.c fs: consistently use can_mmap_file() helper 2025-06-17 13:47:22 +02:00
bad_inode.c
binfmt_elf.c fs: consistently use can_mmap_file() helper 2025-06-17 13:47:22 +02:00
binfmt_elf_fdpic.c fs: consistently use can_mmap_file() helper 2025-06-17 13:47:22 +02:00
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
bpf_fs_kfuncs.c
buffer.c
char_dev.c
compat_binfmt_elf.c
coredump.c
d_path.c
dax.c vfs-6.16-rc2.fixes 2025-06-02 12:49:16 -07:00
dcache.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c - The 11 patch series "Add folio_mk_pte()" from Matthew Wilcox 2025-05-31 15:44:16 -07:00
fcntl.c
fhandle.c
file.c
file_table.c
filesystems.c
fs-writeback.c
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c
internal.h
ioctl.c
kernel_read_file.c
libfs.c
locks.c
mbcache.c
mnt_idmapping.c
mount.h
mpage.c
namei.c
namespace.c mount-related bugfixes 2025-06-08 10:35:12 -07:00
nsfs.c
open.c
pidfs.c
pipe.c
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
readdir.c readdir: supply dir_context.count as readdir buffer size hint 2025-05-29 12:31:23 +02:00
remap_range.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c automount wart removal 2025-05-30 15:38:29 -07:00
sync.c
sysctls.c
timerfd.c
userfaultfd.c
utimes.c
xattr.c