aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorKelley Nielsen <[email protected]>2013-11-04 19:35:58 -0800
committerChris Mason <[email protected]>2014-01-28 13:19:36 -0800
commit75ac2dd907013b44edbdec16f8969d14811149c9 (patch)
tree63c0ad18dbf6ff14cdfa90e6f396b8c393eb6207 /tools/perf/scripts/python/syscall-counts.py
parente33d5c3d6d61518c7f115af6d11d3dffa230d31f (diff)
btrfs: expand btrfs_find_item() to include find_root_ref functionality
This patch is the second step in bootstrapping the btrfs_find_item interface. The btrfs_find_root_ref() is similar to the former __inode_info(); it accepts four of its parameters, and duplicates the first half of its functionality. Replace the one former call to btrfs_find_root_ref() with a call to btrfs_find_item(), along with the defined key type that was used internally by btrfs_find_root ref, and a null found key. In btrfs_find_item(), add a test for the null key at the place where the functionality of btrfs_find_root_ref() ends; btrfs_find_item() then returns if the test passes. Finally, remove btrfs_find_root_ref(). Signed-off-by: Kelley Nielsen <[email protected]> Suggested-by: Zach Brown <[email protected]> Reviewed-by: Josh Triplett <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions