summaryrefslogtreecommitdiff
path: root/fs/hpfs/super.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-05-13 16:34:28 +0800
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:36 +0200
commitbc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25 (patch)
tree31c0e693b177c3f610047f6c4d302fc9c39e2a4b /fs/hpfs/super.c
parent9db33891c79dde09384ed56a0670a02648d8ce05 (diff)
downloadlinux-bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25.tar.gz
linux-bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25.tar.bz2
linux-bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25.zip
btrfs: remove parameter dev_extent_len from scrub_stripe()
For scrub_stripe() we can easily calculate the dev extent length as we have the full info of the chunk. Thus there is no need to pass @dev_extent_len from the caller, and we introduce a helper, btrfs_calc_stripe_length(), to do the calculation from extent_map structure. 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/hpfs/super.c')
0 files changed, 0 insertions, 0 deletions