diff options
author | 2025-04-08 17:29:09 +0200 | |
---|---|---|
committer | 2025-04-09 13:03:56 +0200 | |
commit | b0b26ad0e1943de25ce82a7e5af3574f31b1cf99 (patch) | |
tree | 6e10b5e104226a5a422487cb90fcc1b61b22f3c0 /scripts/lib/kdoc/kdoc_output.py | |
parent | nvmet-fc: update tgtport ref per assoc (diff) | |
download | linux-rng-b0b26ad0e1943de25ce82a7e5af3574f31b1cf99.tar.xz linux-rng-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 <wagi@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions