aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-06-23 16:59:00 +0200
committerJens Axboe <axboe@kernel.dk>2021-06-30 15:34:13 -0600
commit8b52d8be86d723085784317427d339528766d9a3 (patch)
treeefabe10cd08a438cae0f5857fe4bf838fbbad50f /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
parentmmc: initialized disk->minors (diff)
downloadwireguard-linux-8b52d8be86d723085784317427d339528766d9a3.tar.xz
wireguard-linux-8b52d8be86d723085784317427d339528766d9a3.zip
loop: reorder loop_exit
Unregister the misc and blockdevice first to prevent further access, and only then iterate to remove the devices. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Link: https://lore.kernel.org/r/20210623145908.92973-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions