commit | 0b8393578c70bc1f09790eeae7d918f38da2e010 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Fri Apr 08 15:05:36 2011 -0400 |
committer | James Bottomley <James.Bottomley@suse.de> | Sun Apr 24 11:02:09 2011 -0500 |
tree | 0d1ba0f9e3470800e69753e5f228b733af7205ed | |
parent | a1f74ae82d133ebb2aabb19d181944b4e83e9960 [diff] |
[SCSI] scsi_dh: fix reference counting in scsi_dh_activate error path 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>