diff options
author | Omar Sandoval <osandov@fb.com> | 2021-11-16 14:03:45 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 13:13:51 +0100 |
commit | 8dd9872d2e261196069ab03d5dc5e6ec9bc93f4b (patch) | |
tree | c41da932bd1a949deb1aa9aa7c5a69447dc1adc9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 28c9b1e75aa1794897a9cb709f20f27f4aadebac (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions