diff options
| author | Mike Christie <michaelc@cs.wisc.edu> | 2008-06-16 19:11:35 +0400 |
|---|---|---|
| committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 17:22:30 +0400 |
| commit | f80f868ec463b0463b332cdb704fe5438f013f98 (patch) | |
| tree | 5280f9c355ad08d659bacaaae41da697ddbd7345 /include/linux | |
| parent | 4c2133c82385c31dd3eed76b07da1e986eb00294 (diff) | |
| download | linux-f80f868ec463b0463b332cdb704fe5438f013f98.tar.xz | |
[SCSI] iscsi class: fix endpoint leak
class_find_device gets a ref to the device so we must release it.
The class will serialize access to the ep so we do not have to worry
about a remove racing with the callers access, so we can simplify the
use and drop the ref right away.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
