]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab01cf03f246d6912de95115af4f4f7af1a50955
tree5db49b74b50f65967796d0783a231675ea03f166
parent1e7ecabc78cec438d9b6d04f88a8e17c21d63627
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