Bump LXC package from 1.1.5 to 2.1.0. Version 2.x includes many improvements and optimizations. https://linuxcontainers.org/lxc/news/ Some tools like lxc-top are rewritten in C and are no longer broken and dependent on lua. Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
11 lines
413 B
Diff
11 lines
413 B
Diff
--- a/src/lxc/storage/overlay.c
|
|
+++ b/src/lxc/storage/overlay.c
|
|
@@ -747,7 +747,7 @@ int ovl_mkdir(const struct mntent *mntent, const struct lxc_rootfs *rootfs,
|
|
char lxcpath[MAXPATHLEN];
|
|
char **opts;
|
|
int ret;
|
|
- size_t arrlen, dirlen, i, len, rootfslen;
|
|
+ size_t arrlen, i, len, rootfslen, dirlen = 0;
|
|
int fret = -1;
|
|
char *rootfs_dir = NULL, *rootfs_path = NULL, *upperdir = NULL,
|
|
*workdir = NULL;
|