[lxc-devel] [lxc/lxc] 534dfd: lxc-copy: cleanup

GitHub noreply at github.com
Mon Feb 1 10:40:05 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 534dfdeb6b3a5cfeb3410990f17d661c85537201
      https://github.com/lxc/lxc/commit/534dfdeb6b3a5cfeb3410990f17d661c85537201
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

  Changed paths:
    M src/lxc/lxc_copy.c

  Log Message:
  -----------
  lxc-copy: cleanup

- make free_mnts() work directly on the globals mnt_table and mnt_table_size
- have free_mnts() set mnt_table = NULL and mnt_table_size = 0 when its done to
  avoid double frees
- simplify error-handling in do_clone_ephemeral()
- do_clone_ephemeral(): when chmod() falls to set permissions on the temporary
  folder we created for mkdtemp() remove the folder
- simplify error handling in main()

Signed-off-by: Christian Brauner <christian.brauner at mailbox.org>


  Commit: d741ddc8802e02aa9a47cb24b18b24e426d9349e
      https://github.com/lxc/lxc/commit/d741ddc8802e02aa9a47cb24b18b24e426d9349e
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

  Changed paths:
    M src/lxc/lxc_copy.c

  Log Message:
  -----------
  Merge pull request #786 from brauner/2016-01-31/lxc_copy_fix

lxc-copy: cleanup


Compare: https://github.com/lxc/lxc/compare/da1f8f26b5bb...d741ddc8802e


More information about the lxc-devel mailing list