aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2025-06-12 23:28:10 +0000
committerChristian Brauner <[email protected]>2025-06-16 14:30:45 +0000
commitbc9241367aac08de44633fd957b2452a6da8e6d4 (patch)
tree0db3cb65984cc50ca63db9cf168780fd233621af /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentproc_fd_getattr(): don't bother with S_ISDIR() check (diff)
downloadkernel-bc9241367aac08de44633fd957b2452a6da8e6d4.tar.gz
kernel-bc9241367aac08de44633fd957b2452a6da8e6d4.zip
VFS: change old_dir and new_dir in struct renamedata to dentrys
all users of 'struct renamedata' have the dentry for the old and new directories, and often have no use for the inode except to store it in the renamedata. This patch changes struct renamedata to hold the dentry, rather than the inode, for the old and new directories, and changes callers to match. The names are also changed from a _dir suffix to _parent. This is consistent with other usage in namei.c and elsewhere. This results in the removal of several local variables and several dereferences of ->d_inode at the cost of adding ->d_inode dereferences to vfs_rename(). Acked-by: Miklos Szeredi <[email protected]> Reviewed-by: Chuck Lever <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Signed-off-by: NeilBrown <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions