summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2021-11-17 01:03:45 +0300
committerDavid Sterba <dsterba@suse.com>2022-03-14 15:13:51 +0300
commit8dd9872d2e261196069ab03d5dc5e6ec9bc93f4b (patch)
treec41da932bd1a949deb1aa9aa7c5a69447dc1adc9 /tools/perf/scripts/python
parent28c9b1e75aa1794897a9cb709f20f27f4aadebac (diff)
downloadlinux-8dd9872d2e261196069ab03d5dc5e6ec9bc93f4b.tar.xz
btrfs: clean up cow_file_range_inline()
The start parameter to cow_file_range_inline() (and insert_inline_extent()) is always 0, so get rid of it and simplify the logic in those two functions. Pass btrfs_inode to insert_inline_extent() and remove the redundant root parameter. Also document the requirements for creating an inline extent. No functional change. Signed-off-by: Omar Sandoval <osandov@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions