]> git.ipfire.org Git - thirdparty/lxc.git/commit
overlayfs: overlayfs.v22 or higher needs workdir option
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Thu, 30 Oct 2014 11:31:20 +0000 (20:31 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 2 Dec 2014 17:20:31 +0000 (12:20 -0500)
commitb73d3bbce39c49bd75ac2a7db0eb4151be2a7563
tree5f4de35f1b22986bcef5730ceac84600d92b510f
parent1b49e7d03b44652db581c738e4f476201cbaaf1b
overlayfs: overlayfs.v22 or higher needs workdir option

This patch creates workdir as "olwork", and retry mount with workdir
option when mount is failed.
It is used to prepare files before atomically swithing with
destination, and needs to be on the same filesystem as upperdir. It's
OK for it to be empty.

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/bdev.c