commit | 34fe7c05400663e01e23cddd1fea68bb7a2b3d29 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed Feb 08 14:46:48 2017 +0100 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 08 13:43:06 2017 -0700 |
tree | c03679f3bf7602925ecd9cbd6849af412b06d959 | |
parent | 6cf7677f1a94546e472658290b3b8bdbb16cc045 [diff] |
block: enumify ELEVATOR_*_MERGE Switch these constants to an enum, and make let the compiler ensure that all callers of blk_try_merge and elv_merge handle all potential values. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>