diff options
| author | Christoph Hellwig <hch@lst.de> | 2018-05-29 09:52:29 -0400 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-05-29 10:59:21 -0400 |
| commit | 6600593cbd9340b3d4fcde8e58d17653732620c4 (patch) | |
| tree | 988e41b87c617a6f8b9d0408f8bc16127e7a8bbf /include/linux/blkdev.h | |
| parent | 12f5b93145450c750f315657ef239a314811aeeb (diff) | |
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/linux/blkdev.h')
| -rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index a1c05e85a443..f82e05df905b 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
| @@ -326,7 +326,7 @@ typedef int (init_rq_fn)(struct request_queue *, struct request *, gfp_t); | |||
| 326 | typedef void (exit_rq_fn)(struct request_queue *, struct request *); | 326 | typedef void (exit_rq_fn)(struct request_queue *, struct request *); |
| 327 | 327 | ||
| 328 | enum blk_eh_timer_return { | 328 | enum blk_eh_timer_return { |
| 329 | BLK_EH_NOT_HANDLED, | 329 | BLK_EH_DONE, |
| 330 | BLK_EH_HANDLED, | 330 | BLK_EH_HANDLED, |
| 331 | BLK_EH_RESET_TIMER, | 331 | BLK_EH_RESET_TIMER, |
| 332 | }; | 332 | }; |
