aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorDaniel Wagner <wagi@kernel.org>2025-04-08 17:29:09 +0200
committerChristoph Hellwig <hch@lst.de>2025-04-09 13:03:56 +0200
commitb0b26ad0e1943de25ce82a7e5af3574f31b1cf99 (patch)
tree6e10b5e104226a5a422487cb90fcc1b61b22f3c0 /scripts/lib/kdoc/kdoc_output.py
parentnvmet-fc: update tgtport ref per assoc (diff)
downloadlinux-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