aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2022-09-16 15:28:39 +0800
committerDavid Sterba <[email protected]>2022-12-05 18:00:48 +0100
commita982fc822001e26930b502b16534f6bbd42b232a (patch)
treee722d1ff1651a519408f24f21cc53d343fd3295a /tools/perf/scripts/python
parent280f15cb96a61e4122bb28cdc316343ff4918b7d (diff)
btrfs: extract the inline extent read code into its own function
Currently we have inline extent read code behind two levels of indentation, factor them them out into a new function, read_inline_extent(), to make it a little easier to read. Since we're here, also remove @extent_offset and @pg_offset arguments from uncompress_inline() function, as it's not possible to have inline extents at non-inline file offset. Signed-off-by: Qu Wenruo <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions