summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2025-07-21 13:41:15 +0100
committerDavid Sterba <dsterba@suse.com>2025-09-22 10:54:30 +0200
commit575f52a77a0aa045943cca67fdf9f0388e86a5f8 (patch)
treeccd693563865a0b21351fe94c25d66ec552dd1fc /scripts/extract-fwblobs
parent88666b6df97ec3ac8e6522584bec4963cf7ce6f8 (diff)
btrfs: process inline extent earlier in replay_one_extent()
Instead of having an if statement to check for regular and prealloc extents first, process them in a block, and then following with an else statement to check for an inline extent, check for an inline extent first, process it and jump to the 'update_inode' label, allowing us to avoid having the code for processing regular and prealloc extents inside a block, reducing the high indentation level by one and making the code easier to read and avoid line splittings too. Reviewed-by: Boris Burkov <boris@bur.io> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions