Commit 5b44297
mm/filemap: introduce generic_file_*_mmap_prepare() helpers
Since commit c84bf6d ("mm: introduce new .mmap_prepare() file
callback"), the f_op->mmap() hook has been deprecated in favour of
f_op->mmap_prepare().
The generic mmap handlers are very simple, so we can very easily convert
these in advance of converting file systems which use them.
This patch does so.
Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Link: https://lore.kernel.org/30622c1f0b98c66840bc8c02668bda276a810b70.1750099179.git.lorenzo.stoakes@oracle.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>1 parent 6528d29 commit 5b44297
2 files changed
Lines changed: 33 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3393 | 3393 | | |
3394 | 3394 | | |
3395 | 3395 | | |
3396 | | - | |
3397 | | - | |
| 3396 | + | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
3398 | 3400 | | |
3399 | 3401 | | |
3400 | 3402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3814 | 3814 | | |
3815 | 3815 | | |
3816 | 3816 | | |
| 3817 | + | |
| 3818 | + | |
| 3819 | + | |
| 3820 | + | |
| 3821 | + | |
| 3822 | + | |
| 3823 | + | |
| 3824 | + | |
| 3825 | + | |
| 3826 | + | |
| 3827 | + | |
| 3828 | + | |
3817 | 3829 | | |
3818 | 3830 | | |
3819 | 3831 | | |
| |||
3823 | 3835 | | |
3824 | 3836 | | |
3825 | 3837 | | |
| 3838 | + | |
| 3839 | + | |
| 3840 | + | |
| 3841 | + | |
| 3842 | + | |
| 3843 | + | |
| 3844 | + | |
3826 | 3845 | | |
3827 | 3846 | | |
3828 | 3847 | | |
| |||
3832 | 3851 | | |
3833 | 3852 | | |
3834 | 3853 | | |
| 3854 | + | |
| 3855 | + | |
| 3856 | + | |
| 3857 | + | |
3835 | 3858 | | |
3836 | 3859 | | |
3837 | 3860 | | |
3838 | 3861 | | |
| 3862 | + | |
| 3863 | + | |
| 3864 | + | |
| 3865 | + | |
3839 | 3866 | | |
3840 | 3867 | | |
3841 | 3868 | | |
3842 | 3869 | | |
| 3870 | + | |
3843 | 3871 | | |
| 3872 | + | |
3844 | 3873 | | |
3845 | 3874 | | |
3846 | 3875 | | |
| |||
0 commit comments