[CRIU] [RFC PATCH v2 6/6] turn "proc" into FSTYPE__AUTO
Pavel Emelyanov
xemul at parallels.com
Mon Mar 30 02:48:35 PDT 2015
> @@ -1105,6 +1090,14 @@ static bool fstype_is_auto(const char *name)
> if (!fsauto_names)
> goto ret;;
>
> +#define A(n) (strcmp(name, #n) == 0)
> +
> + if (A(proc) || A(sysfs) || A(securityfs) || A(debugfs) || A(cgroup))
> + return true;
So we'll have dangling entries in mnt.proto. Not a big dial, I suppose,
just need not to forget mentioning it on the [1] page :)
[1] http://criu.org/What%27s_bad_with_V1_images
> +#undef A
> +
> +
> yes = strcmp(fsauto_names, "all") == 0;
> if (yes)
> goto ret;
>
More information about the CRIU
mailing list