OSDN Git Service

scsi: core: scsi_io_completion: comment on end_request return
authorDouglas Gilbert <dgilbert@interlog.com>
Sat, 23 Jun 2018 10:22:14 +0000 (12:22 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Jun 2018 16:27:06 +0000 (12:27 -0400)
commit7e63b5a4a68309383868b3582e92c217ad8a5347
treeb4226abd811392b759b432847095b1defa8465fa
parente2607484370ea1b3595a3c51485e66e0cbd17341
scsi: core: scsi_io_completion: comment on end_request return

scsi_end_request() is called multiple times from scsi_io_completion() which
branches on its bool returned value. Add comment before the static
definition of scsi_end_request() about the meaning of that return.

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c