Commit 0b1b4b0
scsi: pmcraid: Add missing scsi_device_put() in pmcraid_eh_target_reset_handler()
When breaking out of an shost_for_each_device() loop one needs to do an
explicit scsi_device_put().
Fixes: c2a14ab ("scsi: pmcraid: Select device in pmcraid_eh_target_reset_handler()")
Signed-off-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 96f41cd commit 0b1b4b0
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3066 | 3066 | | |
3067 | 3067 | | |
3068 | 3068 | | |
| 3069 | + | |
3069 | 3070 | | |
3070 | 3071 | | |
3071 | 3072 | | |
| |||
3078 | 3079 | | |
3079 | 3080 | | |
3080 | 3081 | | |
3081 | | - | |
3082 | | - | |
3083 | | - | |
| 3082 | + | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
3084 | 3087 | | |
3085 | 3088 | | |
3086 | 3089 | | |
| |||
0 commit comments