lsm: Move host lsmtype on kerndat
Currently this is lsm.c's static variable, but since kdat is now cached (and uncached) this value stays zero (no lsm) if the cache file gets loaded, which is obviously wrong and breaks the restore all the time on lsm-enabled hosts. https://github.com/xemul/criu/issues/323Signed-off-by:Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by:
Andrei Vagin <avagin@virtuozzo.com>
Showing
Please
register
or
sign in
to comment