ovl: prepare to copy up without workdir
authorAmir Goldstein <amir73il@gmail.com>
Fri, 3 Apr 2020 05:43:12 +0000 (08:43 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 13 May 2020 09:11:24 +0000 (11:11 +0200)
commit773cb4c56b1bedeb5644f5bd06b76e348bb21634
tree4f69b2f286fd627c81fe4f351da8a31699e78d5c
parent3011645b5b061e99cf0f024b3260ec506f91b27c
ovl: prepare to copy up without workdir

With index=on, we copy up lower hardlinks to work dir and move them into
index dir. Fix locking to allow work dir and index dir to be the same
directory.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/copy_up.c