aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-11-11 07:44:57 -0500
committerJames Bottomley <JBottomley@Parallels.com>2013-12-19 10:39:03 -0500
commit6ad55502c65638cad53f211e301c724fe7e64a8e (patch)
treee2606e3216a8cb3b264f72bca3a1c35c96f416ca /drivers/scsi
parentbb3b621a33d60fc2baddf31597ade01243e00a2c (diff)
[SCSI] Update documentation
The documentation has gone out-of-sync, so update it to the current status. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/scsi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index 2b04a57e0f4f..d8afec8317cf 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -745,15 +745,13 @@ int scsi_dispatch_cmd(struct scsi_cmnd *cmd)
745} 745}
746 746
747/** 747/**
748 * scsi_done - Enqueue the finished SCSI command into the done queue. 748 * scsi_done - Invoke completion on finished SCSI command.
749 * @cmd: The SCSI Command for which a low-level device driver (LLDD) gives 749 * @cmd: The SCSI Command for which a low-level device driver (LLDD) gives
750 * ownership back to SCSI Core -- i.e. the LLDD has finished with it. 750 * ownership back to SCSI Core -- i.e. the LLDD has finished with it.
751 * 751 *
752 * Description: This function is the mid-level's (SCSI Core) interrupt routine, 752 * Description: This function is the mid-level's (SCSI Core) interrupt routine,
753 * which regains ownership of the SCSI command (de facto) from a LLDD, and 753 * which regains ownership of the SCSI command (de facto) from a LLDD, and
754 * enqueues the command to the done queue for further processing. 754 * calls blk_complete_request() for further processing.
755 *
756 * This is the producer of the done queue who enqueues at the tail.
757 * 755 *
758 * This function is interrupt context safe. 756 * This function is interrupt context safe.
759 */ 757 */