diff options
author | Filipe Manana <fdmanana@suse.com> | 2025-09-18 15:29:16 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-09-23 09:49:24 +0300 |
commit | b7ff7b0d76e5478c319ab2066b287e156968231f (patch) | |
tree | 97a9283a6b240ec0bd18c2b76ab494413d5b0fd2 /fs/btrfs/disk-io.c | |
parent | a35b3dd59bf6fe2bf3c2777bdde623d722caa68c (diff) | |
download | linux-b7ff7b0d76e5478c319ab2066b287e156968231f.tar.xz |
btrfs: simplify inline extent end calculation at replay_one_extent()
There is no need to store the extent's ram_bytes in two variables,
further more one of them, named 'size', is used only for the extent's end
offset calculation. So remove the 'size' variable and use 'nbytes' only.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions