aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
diff options
context:
space:
mode:
authorLorenzo Stoakes <[email protected]>2025-06-16 19:33:20 +0000
committerChristian Brauner <[email protected]>2025-06-17 11:35:23 +0000
commit20ca475d9860e14cf389f5a7d5ba9c6437d74613 (patch)
tree4363b7ad9f5126653402b9089fe4987677cf433a /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
parentLinux 6.16-rc2 (diff)
downloadkernel-20ca475d9860e14cf389f5a7d5ba9c6437d74613.tar.gz
kernel-20ca475d9860e14cf389f5a7d5ba9c6437d74613.zip
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 <[email protected]> Link: https://lore.kernel.org/8d389f4994fa736aa8f9172bef8533c10a9e9011.1750099179.git.lorenzo.stoakes@oracle.com Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c')
0 files changed, 0 insertions, 0 deletions