aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.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/linux/blkdev.h
parentblk-mq: Remove generation seqeunce (diff)
downloadlinux-dev-6600593cbd9340b3d4fcde8e58d17653732620c4.tar.xz
linux-dev-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/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h2
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);
typedef void (exit_rq_fn)(struct request_queue *, struct request *);
enum blk_eh_timer_return {
- BLK_EH_NOT_HANDLED,
+ BLK_EH_DONE,
BLK_EH_HANDLED,
BLK_EH_RESET_TIMER,
};