"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lxc/storage/overlay.c" between
lxc-4.0.9.tar.gz and lxc-4.0.10.tar.gz

About: LXC are userspace tools for the Linux kernel containers that let users easily create and manage system or application containers.

overlay.c  (lxc-4.0.9):overlay.c  (lxc-4.0.10)
skipping to change at line 417 skipping to change at line 417
if (!lastslash) { if (!lastslash) {
ERROR("Failed to detect \"/\" in string \"%s\"", upper); ERROR("Failed to detect \"/\" in string \"%s\"", upper);
free(dup); free(dup);
return -22; return -22;
} }
upper[lastslash - upper] = '\0'; upper[lastslash - upper] = '\0';
work = must_make_path(upper, LXC_OVERLAY_WORK_DIR, NULL); work = must_make_path(upper, LXC_OVERLAY_WORK_DIR, NULL);
upper[lastslash - upper] = '/'; upper[lastslash - upper] = '/';
ret = parse_mntopts(bdev->mntopts, &mntflags, &mntdata); ret = parse_mntopts_legacy(bdev->mntopts, &mntflags, &mntdata);
if (ret < 0) { if (ret < 0) {
ERROR("Failed to parse mount options"); ERROR("Failed to parse mount options");
free(mntdata); free(mntdata);
free(dup); free(dup);
free(work); free(work);
return -22; return -22;
} }
ret = mkdir_p(work, 0755); ret = mkdir_p(work, 0755);
if (ret < 0 && errno != EEXIST) { if (ret < 0 && errno != EEXIST) {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)