aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-29 15:52:29 +0200
committerJens Axboe <axboe@kernel.dk>2018-05-29 08:59:21 -0600
commit6600593cbd9340b3d4fcde8e58d17653732620c4 (patch)
tree988e41b87c617a6f8b9d0408f8bc16127e7a8bbf /include/scsi/scsi_host.h
parentblk-mq: Remove generation seqeunce (diff)
downloadwireguard-linux-6600593cbd9340b3d4fcde8e58d17653732620c4.tar.xz
wireguard-linux-6600593cbd9340b3d4fcde8e58d17653732620c4.zip
block: rename BLK_EH_NOT_HANDLED to BLK_EH_DONE
The BLK_EH_NOT_HANDLED implies nothing happen, but very often that is not what is happening - instead the driver already completed the command. Fix the symbolic name to reflect that a little better. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r--include/scsi/scsi_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index 12f454cb6f61..53b485fe9b67 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -307,7 +307,7 @@ struct scsi_host_template {
* EH_HANDLED: I fixed the error, please complete the command
* EH_RESET_TIMER: I need more time, reset the timer and
* begin counting again
- * EH_NOT_HANDLED Begin normal error recovery
+ * EH_DONE: Begin normal error recovery
*
* Status: OPTIONAL
*/