aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2021-12-15 14:59:41 +0800
committerDavid Sterba <[email protected]>2022-01-07 14:18:26 +0100
commitd04fbe19aefd28570a442e79aae226dd742ddc4c (patch)
treeff6ad3e517d2bc7ca3e4d3a41f575f2d7b8c6428 /fs/btrfs/disk-io.c
parentf26c92386028563a1e988bb277c6c5ce2e8010ee (diff)
btrfs: scrub: cleanup the argument list of scrub_chunk()
The argument list of scrub_chunk() has the following problems: - Duplicated @chunk_offset It is the same as btrfs_block_group::start. - Confusing @length The most instinctive guess is chunk length, and one may want to delete it, but the truth is, it's the device extent length. Fix this by: - Remove @chunk_offset Use btrfs_block_group::start instead. - Rename @length to @dev_extent_len Also rename the caller to remove the ambiguous naming. - Rename @cache to @bg The "_cache" suffix for btrfs_block_group has been removed for a while. Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions