btrfs: scrub: rename members related to scrub_block::pagev
authorQu Wenruo <wqu@suse.com>
Sun, 13 Mar 2022 10:40:00 +0000 (18:40 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:07 +0000 (17:03 +0200)
commit7e737cbca63331943a75d472e66bca2634966239
tree29792ea6add751e9ad00ad7f76e45ea8d75a0a62
parent6a2e9dc46f15dc8e0eb8c8986a49c36f4b2d23a4
btrfs: scrub: rename members related to scrub_block::pagev

The following will be renamed in this patch:

- scrub_block::pagev -> sectors

- scrub_block::page_count -> sector_count

- SCRUB_MAX_PAGES_PER_BLOCK -> SCRUB_MAX_SECTORS_PER_BLOCK

- page_num -> sector_num to iterate scrub_block::sectors

For now scrub_page is not yet renamed to keep the patch reasonable and
it will be updated in a followup.

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