diff options
author | Qu Wenruo <wqu@suse.com> | 2022-05-13 16:34:30 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-07-25 17:45:36 +0200 |
commit | 0b30f719451ebbf313cdb444a27b00c10cf6e8a5 (patch) | |
tree | d5214a96a9d1b31e1d278699d8c29b35dd0246c2 /fs/ecryptfs/messaging.c | |
parent | 6dead96c1a1e091e78ee80a2484279c3861c60d8 (diff) | |
download | linux-0b30f719451ebbf313cdb444a27b00c10cf6e8a5.tar.gz linux-0b30f719451ebbf313cdb444a27b00c10cf6e8a5.tar.bz2 linux-0b30f719451ebbf313cdb444a27b00c10cf6e8a5.zip |
btrfs: use btrfs_raid_array to calculate number of parity stripes
Use the raid table instead of hard coded values and rename the helper as
it is exported. This could make later extension on RAID56 based
profiles easier.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/ecryptfs/messaging.c')
0 files changed, 0 insertions, 0 deletions