summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2012-06-05 18:41:24 +0400
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-06-14 20:44:22 +0400
commita95236d99fa56766f11056903439f55fe5038bcf (patch)
tree90a9ea2656772900ac411cf43333ec25ed712363 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent8ba97a15e7d4f70b9af71fa1db86a28dd17ad1b2 (diff)
downloadlinux-a95236d99fa56766f11056903439f55fe5038bcf.tar.xz
Btrfs: fix return value for __tree_mod_log_oldest_root
In __tree_mod_log_oldest_root() we must return the found operation even if it's not a ROOT_REPLACE operation. Otherwise, the caller assumes that there are no operations to be rewinded and returns immediately. The code in the caller is modified to improve readability. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions