[PATCH] fix typo in scsi_handle_queue_ramp_up()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There seems cleanup of typo needed.

If only sdev is concerned its time mark could be updated after scanning devices.

Signed-off-by: Hillf Danton <dhillf@xxxxxxxxx>
---

--- a/drivers/scsi/scsi_error.c	2010-09-13 07:07:38.000000000 +0800
+++ b/drivers/scsi/scsi_error.c	2010-11-01 20:50:32.000000000 +0800
@@ -394,7 +394,7 @@ static void scsi_handle_queue_ramp_up(st
 		 */
 		sht->change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1,
 					SCSI_QDEPTH_RAMP_UP);
-		sdev->last_queue_ramp_up = jiffies;
+		tmp_sdev->last_queue_ramp_up = jiffies;
 	}
 }
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux