aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorDaniel Wagner <[email protected]>2025-04-08 15:29:09 +0000
committerChristoph Hellwig <[email protected]>2025-04-09 11:03:56 +0000
commitb0b26ad0e1943de25ce82a7e5af3574f31b1cf99 (patch)
tree6e10b5e104226a5a422487cb90fcc1b61b22f3c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parentnvmet-fc: update tgtport ref per assoc (diff)
downloadkernel-b0b26ad0e1943de25ce82a7e5af3574f31b1cf99.tar.gz
kernel-b0b26ad0e1943de25ce82a7e5af3574f31b1cf99.zip
nvmet-fc: take tgtport reference only once
The reference counting code can be simplified. Instead taking a tgtport refrerence at the beginning of nvmet_fc_alloc_hostport and put it back if not a new hostport object is allocated, only take it when a new hostport object is allocated. Signed-off-by: Daniel Wagner <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions