git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d685c26
)
[SCSI] fc class: fix fc_transport_init error handling
author
Mike Christie
<michaelc@cs.wisc.edu>
Wed, 18 Nov 2009 03:25:16 +0000
(21:25 -0600)
committer
James Bottomley
<James.Bottomley@suse.de>
Thu, 10 Dec 2009 14:54:11 +0000
(08:54 -0600)
If transport_class_register fails we should unregister any
registered classes, or we will leak memory or other
resources.
I did a quick modprobe of scsi_transport_fc to test the
patch.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Cc: Stable Tree <stable@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
No differences found