diff options
| author | Lorenzo Stoakes <[email protected]> | 2025-06-16 19:33:26 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-06-17 11:47:44 +0000 |
| commit | 5b44297bcfa49ee197cdb8ca6164bef120c4e73c (patch) | |
| tree | 74158a2853cb30067f4c69409a3b439e2b961a9c /fs | |
| parent | fs/xfs: transition from deprecated .mmap hook to .mmap_prepare (diff) | |
| download | kernel-5b44297bcfa49ee197cdb8ca6164bef120c4e73c.tar.gz kernel-5b44297bcfa49ee197cdb8ca6164bef120c4e73c.zip | |
mm/filemap: introduce generic_file_*_mmap_prepare() helpers
Since commit c84bf6dd2b83 ("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 <[email protected]>
Link: https://lore.kernel.org/30622c1f0b98c66840bc8c02668bda276a810b70.1750099179.git.lorenzo.stoakes@oracle.com
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions
