ovl: During copy up, first copy up metadata and then data
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)
commitbd64e57586d3722d2fc06093c3d7e3c4adb9e060
tree155d823025fc03e1b9538286791fe865a827cb8f
parentd5791044d2e5749ef4de84161cec5532e2111540
ovl: During copy up, first copy up metadata and then data

Just a little re-ordering of code.  This helps with next patch where after
copying up metadata, we skip data copying step, if needed.

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