OpenCloudOS-Kernel/fs/overlayfs
Miklos Szeredi e85f82ff9b ovl: copy-up: don't unlock between lookup and link
Nothing prevents mischief on upper layer while we are busy copying up the
data.

Move the lookup right before the looked up dentry is actually used.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 01ad3eb8a0 ("ovl: concurrent copy up of regular files")
Cc: <stable@vger.kernel.org> # v4.11
2017-06-28 13:41:22 +02:00
..
Kconfig ovl: select EXPORTFS 2017-05-15 10:53:07 +02:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
copy_up.c ovl: copy-up: don't unlock between lookup and link 2017-06-28 13:41:22 +02:00
dir.c ovl: mark upper merge dir with type origin entries "impure" 2017-05-29 11:48:00 +02:00
inode.c ovl: filter trusted xattr for non-admin 2017-05-29 15:15:27 +02:00
namei.c ovl: mark upper merge dir with type origin entries "impure" 2017-05-29 11:48:00 +02:00
overlayfs.h ovl: mark upper merge dir with type origin entries "impure" 2017-05-29 11:48:00 +02:00
ovl_entry.h ovl: mark upper dir with type origin entries "impure" 2017-05-19 09:33:49 +02:00
readdir.c ovl: proper cleanup of workdir 2016-09-01 11:11:59 +02:00
super.c ovl: mark upper merge dir with type origin entries "impure" 2017-05-29 11:48:00 +02:00
util.c ovl: mark upper merge dir with type origin entries "impure" 2017-05-29 11:48:00 +02:00