[CRIU] [PATCH 2/3] files: Simplify get_mem_dev_ops

Cyrill Gorcunov gorcunov at gmail.com
Sat Nov 17 00:56:12 MSK 2018


On Fri, Nov 16, 2018 at 09:28:52PM +0000, Radostin Stoyanov wrote:
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---

You know the former 'case' statement has been used for one purpose
only -- to be able to extend this code in future, so if there more
minors number appear you won't need to modify much code but add
a new 'case'. Still I don't expect its extension in near future, so

Acked-by: Cyrill Gorcunov <gorcunov at gmail.com>


More information about the CRIU mailing list