linux/fs/adfs
Lorenzo Stoakes 951ea2f484
fs: convert simple use of generic_file_*_mmap() to .mmap_prepare()
Since commit c84bf6dd2b ("mm: introduce new .mmap_prepare() file
callback"), the f_op->mmap() hook has been deprecated in favour of
f_op->mmap_prepare().

We have provided generic .mmap_prepare() equivalents, so update all file
systems that specify these directly in their file_operations structures.

This updates 9p, adfs, affs, bfs, fat, hfs, hfsplus, hostfs, hpfs, jffs2,
jfs, minix, omfs, ramfs and ufs file systems directly.

It updates generic_ro_fops which impacts qnx4, cramfs, befs, squashfs,
frebxfs, qnx6, efs, romfs, erofs and isofs file systems.

There are remaining file systems which use generic hooks in a less direct
way which we address in a subsequent commit.

Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Link: https://lore.kernel.org/c7dc90e44a9e75e750939ea369290d6e441a18e6.1750099179.git.lorenzo.stoakes@oracle.com
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Viacheslav Dubeyko <Slava.Dubeyko@ibm.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-06-17 13:47:45 +02:00
..
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile
adfs.h fs: port ->setattr() to pass mnt_idmap 2023-01-19 09:24:02 +01:00
dir.c fs/adfs: mostly divorse inode number from indirect disc address 2020-01-20 20:12:42 -05:00
dir_f.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dir_f.h adfs: delete unused "union adfs_dirtail" definition 2023-08-21 13:46:23 -07:00
dir_fplus.c fs/adfs: bigdir: Fix an error code in adfs_fplus_read() 2020-01-25 11:31:59 -05:00
dir_fplus.h fs/adfs: dir: modernise on-disk directory structures 2020-01-20 20:12:41 -05:00
file.c fs: convert simple use of generic_file_*_mmap() to .mmap_prepare() 2025-06-17 13:47:45 +02:00
inode.c fs: Convert aops->write_begin to take a folio 2024-08-07 11:33:21 +02:00
map.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
super.c adfs: convert adfs to use the new mount api 2024-09-18 11:44:43 +02:00