aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2012-05-18 00:56:58 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 03:58:23 -0400
commitd075498c987623107f7bface4dad72fe9260a0d3 (patch)
treecb11b22f83f34c7beb9efb0eeb2fe877f2406452 /drivers/scsi/scsi_lib.c
parent5d9fb5cc1b88277bb28a2a54e51b34cacaa123c2 (diff)
[SCSI] remove old comment from block/unblock functions
We do not hold the host lock when calling these functions, so remove comment. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 36521a0ac54b..9f00c128e4d1 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -2411,7 +2411,6 @@ EXPORT_SYMBOL(scsi_target_resume);
2411 * (which must be a legal transition). When the device is in this 2411 * (which must be a legal transition). When the device is in this
2412 * state, all commands are deferred until the scsi lld reenables 2412 * state, all commands are deferred until the scsi lld reenables
2413 * the device with scsi_device_unblock or device_block_tmo fires. 2413 * the device with scsi_device_unblock or device_block_tmo fires.
2414 * This routine assumes the host_lock is held on entry.
2415 */ 2414 */
2416int 2415int
2417scsi_internal_device_block(struct scsi_device *sdev) 2416scsi_internal_device_block(struct scsi_device *sdev)
@@ -2455,8 +2454,7 @@ EXPORT_SYMBOL_GPL(scsi_internal_device_block);
2455 * Notes: 2454 * Notes:
2456 * This routine transitions the device to the SDEV_RUNNING state 2455 * This routine transitions the device to the SDEV_RUNNING state
2457 * or to one of the offline states (which must be a legal transition) 2456 * or to one of the offline states (which must be a legal transition)
2458 * allowing the midlayer to goose the queue for this device. This 2457 * allowing the midlayer to goose the queue for this device.
2459 * routine assumes the host_lock is held upon entry.
2460 */ 2458 */
2461int 2459int
2462scsi_internal_device_unblock(struct scsi_device *sdev, 2460scsi_internal_device_unblock(struct scsi_device *sdev,