linux/fs/overlayfs
Amir Goldstein 42f269b925 ovl: rearrange code in ovl_copy_up_locked()
As preparation to implementing copy up with O_TMPFILE,
name the variable for dentry before final rename 'temp' and
assign it to 'newdentry' only after rename.

Also lookup upper dentry before looking up temp dentry and
move ovl_set_timestamps() into ovl_copy_up_locked(), because
that is going to be more convenient for upcoming change.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-02-07 15:47:14 +01:00
..
copy_up.c ovl: rearrange code in ovl_copy_up_locked() 2017-02-07 15:47:14 +01:00
dir.c ovl: clean up kstat usage 2016-12-16 11:02:57 +01:00
inode.c Merge uncontroversial parts of branch 'readlink' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs 2016-12-17 19:16:12 -08:00
Kconfig ovl: allow redirect_dir to default to "on" 2016-12-16 11:02:57 +01:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
namei.c ovl: lookup redirects 2016-12-16 11:02:56 +01:00
overlayfs.h ovl: check if upperdir fs supports O_TMPFILE 2017-02-07 15:47:14 +01:00
ovl_entry.h ovl: check if upperdir fs supports O_TMPFILE 2017-02-07 15:47:14 +01:00
readdir.c ovl: proper cleanup of workdir 2016-09-01 11:11:59 +02:00
super.c ovl: check if upperdir fs supports O_TMPFILE 2017-02-07 15:47:14 +01:00
util.c ovl: opaque cleanup 2016-12-16 11:02:57 +01:00