summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2019-09-27 13:23:18 +0300
committerDavid Sterba <dsterba@suse.com>2019-11-18 12:47:00 +0100
commitbc80230e0e7bc779cd553c2326ea5b3a5bac303b (patch)
treede85f0acbee7fffa6e28d8d156b57f61889d46dd /tools/perf/scripts/python/exported-sql-viewer.py
parent2034f3b470ccfd4103737cf4d2a25a52ce9ad002 (diff)
btrfs: Return offset from find_desired_extent
Instead of using an input pointer parameter as the return value and have an int as the return type of find_desired_extent, rework the function to directly return the found offset. Doing that the 'ret' variable in btrfs_llseek_file can be removed. Additional (subjective) benefit is that btrfs' llseek function now resemebles those of the other major filesystems. Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions