aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2025-06-18 22:23:41 +0000
committerAl Viro <[email protected]>2025-06-29 23:03:46 +0000
commitaab771f34e63ef89e195b63d121abcb55eebfde6 (patch)
tree1b0cce428051480373090d0a8d8eb7bc9d6af5d6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentcopy_tree(): don't link the mounts via mnt_list (diff)
downloadkernel-aab771f34e63ef89e195b63d121abcb55eebfde6.tar.gz
kernel-aab771f34e63ef89e195b63d121abcb55eebfde6.zip
take freeing of emptied mnt_namespace to namespace_unlock()
Freeing of a namespace must be delayed until after we'd dealt with mount notifications (in namespace_unlock()). The reasons are not immediately obvious (they are buried in ->prev_ns handling in mnt_notify()), and having that free_mnt_ns() explicitly called after namespace_unlock() is asking for trouble - it does feel like they should be OK to free as soon as they've been emptied. Make the things more explicit by setting 'emptied_ns' under namespace_sem and having namespace_unlock() free the sucker as soon as it's safe to free. Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions