aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2025-07-16 00:44:28 +0000
committerChristian Brauner <[email protected]>2025-07-18 09:10:42 +0000
commit2fa14cf2dca1913054e0225377d0a9999483d34d (patch)
tree771ba16f27e940c4912c5a145b265568455175de /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentovl: narrow locking on ovl_remove_and_whiteout() (diff)
downloadkernel-2fa14cf2dca1913054e0225377d0a9999483d34d.tar.gz
kernel-2fa14cf2dca1913054e0225377d0a9999483d34d.zip
ovl: change ovl_cleanup_and_whiteout() to take rename lock as needed
Rather than locking the directory(s) before calling ovl_cleanup_and_whiteout(), change it (and ovl_whiteout()) to do the locking, so the locking can be fine grained as will be needed for proposed locking changes. Sometimes this is called to whiteout something in the index dir, in which case only that dir must be locked. In one case it is called on something in an upperdir, so two directories must be locked. We use ovl_lock_rename_workdir() for this and remove the restriction that upperdir cannot be indexdir - because now sometimes it is. 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