diff options
| author | Daniel Wagner <[email protected]> | 2025-04-08 15:29:09 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2025-04-09 11:03:56 +0000 |
| commit | b0b26ad0e1943de25ce82a7e5af3574f31b1cf99 (patch) | |
| tree | 6e10b5e104226a5a422487cb90fcc1b61b22f3c0 /rust/helpers/platform.c | |
| parent | nvmet-fc: update tgtport ref per assoc (diff) | |
| download | kernel-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 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
