Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d075498c authored by Mike Christie's avatar Mike Christie Committed by James Bottomley
Browse files

[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: default avatarMike Christie <michaelc@cs.wisc.edu>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 5d9fb5cc
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line Diff line number Diff line
@@ -2411,7 +2411,6 @@ EXPORT_SYMBOL(scsi_target_resume);
 *	(which must be a legal transition).  When the device is in this
 *	(which must be a legal transition).  When the device is in this
 *	state, all commands are deferred until the scsi lld reenables
 *	state, all commands are deferred until the scsi lld reenables
 *	the device with scsi_device_unblock or device_block_tmo fires.
 *	the device with scsi_device_unblock or device_block_tmo fires.
 *	This routine assumes the host_lock is held on entry.
 */
 */
int
int
scsi_internal_device_block(struct scsi_device *sdev)
scsi_internal_device_block(struct scsi_device *sdev)
@@ -2455,8 +2454,7 @@ EXPORT_SYMBOL_GPL(scsi_internal_device_block);
 * Notes:       
 * Notes:       
 *	This routine transitions the device to the SDEV_RUNNING state
 *	This routine transitions the device to the SDEV_RUNNING state
 *	or to one of the offline states (which must be a legal transition)
 *	or to one of the offline states (which must be a legal transition)
 *	allowing the midlayer to goose the queue for this device. This
 *	allowing the midlayer to goose the queue for this device.
 *	routine assumes the host_lock is held upon entry.
 */
 */
int
int
scsi_internal_device_unblock(struct scsi_device *sdev,
scsi_internal_device_unblock(struct scsi_device *sdev,