[SCSI] mpt2sas: move the scsi_host_put to the right place
authorTomas Henzl <thenzl@redhat.com>
Tue, 17 Apr 2012 13:24:48 +0000 (15:24 +0200)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 07:59:23 +0000 (08:59 +0100)
When scsi_add_host fails the scsi_host_put should be called.

Signed-off-by: Tomas Henzl <thenzl@redhat.com>
Acked-by: "Nandigama, Nagalakshmi" <Nagalakshmi.Nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

No differences found