Skip to content
Commit 484fc254 authored by Wang Sheng-Hui's avatar Wang Sheng-Hui Committed by Jens Axboe
Browse files

elevator: use ELV_NAME_MAX instead of magic number 16 for chosen_elevator



We have ELV_NAME_MAX defined to 16, and hence we should use it
instead of the magic nubmer 16 for elevator's name string.

Signed-off-by: default avatarWang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 322a8b03
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment