[SCSI] scsi_dh: fix reference counting in scsi_dh_activate error path
authorMike Snitzer <snitzer@redhat.com>
Fri, 8 Apr 2011 19:05:36 +0000 (15:05 -0400)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 24 Apr 2011 16:02:09 +0000 (11:02 -0500)
Commit db422318cbca55168cf965f655471dbf8be82433 ([SCSI] scsi_dh:
propagate SCSI device deletion) introduced a regression where the device
reference is not dropped prior to scsi_dh_activate's early return from
the error path.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@kernel.org # 2.6.38
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

No differences found