util: storage: Convert disk locality check to switch statement
To allow the compiler to track future additions of disk types, convert the function to use a switch statement with the correct type.
Showing
想要评论请 注册 或 登录
To allow the compiler to track future additions of disk types, convert the function to use a switch statement with the correct type.