]> git.hungrycats.org Git - linux/commit
btrfs: rename stripe_size inside volumes.c
authorQu Wenruo <wqu@suse.com>
Fri, 16 Oct 2026 00:48:18 +0000 (11:18 +1030)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Oct 2026 20:36:16 +0000 (21:36 +0100)
commita5538a0f1ed2577fe09f582adecf8d6bc6bf48b1
tree347a7c3064f46b1ecb5e1242b4e97fa597210069
parent1b3a480ee0abb74c6f3bb90995d3265b077611d3
btrfs: rename stripe_size inside volumes.c

Rename the "stripe_size" used inside volumes.c by:

- local variable in alloc_virtual_chunk()
- alloc_chunk_ctl::stripe_size
  All rename to "dev_extent_size".

- alloc_chunk_ctl::max_stripe_size
  Rename to "dev_extent_max" as there is already a "dev_extent_min".

- decide_stripe_size*() functions
  Rename to decide_dev_extent_size*().

This further reduces the confusion between "stripe_size" and
"stripe_len".

Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c