[Devel] [PATCH] mount: check for mount is unsupported only on dump

Kirill Tkhai ktkhai at virtuozzo.com
Wed Jun 28 19:47:35 MSK 2017


On Wed, Jun 28, 2017 at 15:01, Stanislav Kinsburskiy wrote:
> All the mounts on restore stage have to be supported.
> 
> Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
> ---
>  criu/mount.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/criu/mount.c b/criu/mount.c
> index edbd140..6916974 100644
> --- a/criu/mount.c
> +++ b/criu/mount.c
> @@ -834,7 +834,7 @@ skip_fstype:

Could you please add the following in your ~/.gitconfig?

[diff "default"]
        xfuncname = "^[[:alpha:]$_].*[^:]$"

After this git will use function name in hunk header.
It's more useful: imagine, you changes a line below
some popular label, say, "out:". It's difficult to
understand, which function contain it. But when there
is function name in header, it's pretty easy.

Kirill


More information about the Devel mailing list