diff options
author | Andy Grover <agrover@redhat.com> | 2015-05-22 14:07:44 -0700 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2015-06-03 11:33:09 +0200 |
commit | c9b036ca04b6b269d23fecb100b258b7bc6d4fd2 (patch) | |
tree | 6f2be0c0ddb1420c53e3426ccfae14d8d211f8fc /firmware/qlogic | |
parent | 7e99e685f1e4eeddc6de8cd020eddb8deb32fcf1 (diff) |
target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST
commit 5a7125c64def3b21f8147eca8b54949a60963942 upstream.
See https://bugzilla.redhat.com/show_bug.cgi?id=1025672
We need to put() the reference to the scsi host that we got in
pscsi_configure_device(). In VIRTUAL_HOST mode it is associated with
the dev_virt, not the hba_virt.
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'firmware/qlogic')
0 files changed, 0 insertions, 0 deletions