aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJames Smart <[email protected]>2020-07-24 09:40:00 -0700
committerChristoph Hellwig <[email protected]>2020-07-29 07:45:20 +0200
commit34efa23234c8b55dd178bba2216ca9ae9b50e1c9 (patch)
tree5acd7696d553e6e96cfb6696320793914a1ef913 /lib
parent237480760c5050e8e897846b93ba9ffdb6444301 (diff)
nvmet-fc: check successful reference in nvmet_fc_find_target_assoc
When searching for an association based on an association id, when there is a match, the code takes a reference. However, it is not validating that the reference taking was successful. Check the status of the reference. If unsuccessful, the device is being deleted and should be ignored. Signed-off-by: James Smart <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions