diff options
author | 2022-09-16 15:28:39 +0800 | |
---|---|---|
committer | 2022-12-05 18:00:48 +0100 | |
commit | a982fc822001e26930b502b16534f6bbd42b232a (patch) | |
tree | e722d1ff1651a519408f24f21cc53d343fd3295a /fs/btrfs/tree-mod-log.h | |
parent | btrfs: remove new_inline argument from btrfs_extent_item_to_extent_map() (diff) | |
download | wireguard-linux-a982fc822001e26930b502b16534f6bbd42b232a.tar.xz wireguard-linux-a982fc822001e26930b502b16534f6bbd42b232a.zip |
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 <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-mod-log.h')
0 files changed, 0 insertions, 0 deletions