diff options
author | Miklos Szeredi | 2017-06-28 13:41:22 +0200 |
---|---|---|
committer | Miklos Szeredi | 2017-06-28 13:41:22 +0200 |
commit | e85f82ff9b8ef503923a3be8ca6b5fd1908a7f3f (patch) | |
tree | 7c0b05231e998562d9fe83c41568f8f11ea480a6 /fs/jffs2/super.c | |
parent | c0bc126f97fb929b3ae02c1c62322645d70eb408 (diff) |
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: 01ad3eb8a073 ("ovl: concurrent copy up of regular files")
Cc: <stable@vger.kernel.org> # v4.11
Diffstat (limited to 'fs/jffs2/super.c')
0 files changed, 0 insertions, 0 deletions