]> 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)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 31 Oct 2014 01:33:17 +0000 (20:33 -0500)
commit7fb1bef22a6fe37653e5fb99a7ba8646e2b46701
tree43d6aa29cfb2c55501b2f9470b4f2581d3f5b52c
parent62183f1af7f265b74a12297e0ab2f82f6a1f783e
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