[lxc-devel] [PATCH 0/2] Update absolute paths for overlay and aufs mounts

Christian Brauner christianvanbrauner at gmail.com
Tue Oct 27 20:32:48 UTC 2015


Changes:
(1) Make updating lxc_conf->mnt_list and lxc_conf->unexpanded_config independent
    of each other so that users can include overlay mounts from other files.
(2) Update lxc_conf->unexpanded_config by using a separate function
    clone_update_unexp_ovl_dir() in confile.c.
(3) Move various temporary variables inside the lxc_list_for_each(iterator,
    &lxc_conf->mount_list) {*/ do stuff */} per Serge's request.
(4) Use uniform exit strategy when the function fails or succeeds.

Christian Brauner (2):
  Add clone_update_unexp_ovl_dir() function
  Update absolute paths for overlay and aufs mounts

 src/lxc/confile.c      | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++
 src/lxc/confile.h      |  3 ++
 src/lxc/lxccontainer.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 198 insertions(+)

-- 
2.6.2



More information about the lxc-devel mailing list