diff options
author | 2018-10-08 07:25:23 +0300 | |
---|---|---|
committer | 2018-10-26 23:34:39 +0200 | |
commit | b10cdcdc2012b2c199077a0a648e8a7067e573bf (patch) | |
tree | 1198b90b01c4cc718e4ef9c3257824bbf511dd10 /tools/perf/scripts/python/check-perf-trace.py | |
parent | ovl: relax permission checking on underlying layers (diff) | |
download | linux-dev-b10cdcdc2012b2c199077a0a648e8a7067e573bf.tar.xz linux-dev-b10cdcdc2012b2c199077a0a648e8a7067e573bf.zip |
ovl: untangle copy up call chain
In an attempt to dedup ~100 LOC, we ended up creating a tangled call chain,
whose branches merge and diverge in several points according to the
immutable c->tmpfile copy up mode.
This call chain was hard to analyse for locking correctness because the
locking requirements for the c->tmpfile flow were very different from the
locking requirements for the !c->tmpfile flow (i.e. directory vs. regulare
file copy up).
Split the copy up helpers of the c->tmpfile flow from those of the
!c->tmpfile (i.e. workdir) flow and remove the c->tmpfile mode from copy up
context.
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions