aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2025-07-16 00:44:13 +0000
committerChristian Brauner <[email protected]>2025-07-18 09:10:40 +0000
commitc4f8f862b31ccd3d633475fe3982490c744b6565 (patch)
treefb7a9c2fc1e48cc37d6aa9afed1ba1a6ece05d65 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentovl: simplify an error path in ovl_copy_up_workdir() (diff)
downloadkernel-c4f8f862b31ccd3d633475fe3982490c744b6565.tar.gz
kernel-c4f8f862b31ccd3d633475fe3982490c744b6565.zip
ovl: change ovl_create_index() to take dir locks
ovl_copy_up_workdir() currently take a rename lock on two directories, then use the lock to both create a file in one directory, perform a rename, and possibly unlink the file for cleanup. This is incompatible with proposed changes which will lock just the dentry of objects being acted on. This patch moves the call to ovl_create_index() earlier in ovl_copy_up_workdir() to before the lock is taken. ovl_create_index() then takes the required lock only when needed. Reviewed-by: Amir Goldstein <[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