aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorJeff Layton <[email protected]>2015-02-17 17:08:23 -0500
committerJeff Layton <[email protected]>2015-02-17 17:08:23 -0500
commit2e2f756f81edd7c3ba6ed384385ae1d6491652eb (patch)
treee68195e69bebc73b002f3354dc388c83d703a8f5 /tools/perf/util/c++/clang.cpp
parent267f1128583074b575b90a58de4dcb12dd25af96 (diff)
locks: fix list insertion when lock is split in two
In the case where we're splitting a lock in two, the current code the new "left" lock in the incorrect spot. It's inserted just before "right" when it should instead be inserted just before the new lock. When we add a new lock, set "fl" to that value so that we can add "left" before it. Reported-by: Al Viro <[email protected]> Signed-off-by: Jeff Layton <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions