diff options
author | Andy Grover <agrover@redhat.com> | 2015-05-22 14:07:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-06 08:19:33 -0700 |
commit | 82f2351275f6a79143d59ba4181dec9fad95514f (patch) | |
tree | 62a6d612a5fc02c8b70cf44c627fe2aceb83352a /kernel/stacktrace.c | |
parent | b479c8bfa276ffd1ccc23f40bd8c3ccb2412b2e4 (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions