aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorBrian Norris <[email protected]>2014-02-25 18:27:40 -0800
committerBrian Norris <[email protected]>2015-05-07 16:20:53 -0700
commit7aaea7605c0e19fa7b38d7ac5dcd818942fd17a7 (patch)
tree48324e2612fa372c69a97e4b76f14b007423e2c8 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent3094fe121e7514687dd1bdc35127a23be257400e (diff)
jffs2: fix unbalanced locking
Li Zefan reported an unbalanced locking issue, found by his internal debugging feature on runtime. The particular case he was looking at doesn't lead to a deadlock, as the structure that this lock is embedded in is freed on error. But we should straighten out the error handling. Because several callers of jffs2_do_read_inode_internal() / jffs2_do_read_inode() already handle the locking/unlocking and inode clearing at their own level, let's just push any unlocks/clearing down to the caller. This consistency is much easier to verify. Reported-by: Li Zefan <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Artem Bityutskiy <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions