]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - fs/overlayfs/copy_up.c
ovl: Copy up only metadata during copy up where it makes sense
authorVivek Goyal <vgoyal@redhat.com>
Fri, 11 May 2018 15:49:27 +0000 (11:49 -0400)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 20 Jul 2018 07:56:07 +0000 (09:56 +0200)
commit44d5bf109a73f4162d97ab714770fdf76a8dc685
tree5db49b74b50f65967796d0783a231675ea03f166
parentbd64e57586d3722d2fc06093c3d7e3c4adb9e060
ovl: Copy up only metadata during copy up where it makes sense

If it makes sense to copy up only metadata during copy up, do it.  This is
done for regular files which are not opened for WRITE.

Right now ->metacopy is set to 0 always.  Last patch in the series will
remove the hard coded statement and enable metacopy feature.

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