]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit804ab7af0cbc4af9ad7c751afe82b040afeaa5f0
tree29792ea6add751e9ad00ad7f76e45ea8d75a0a62
parente2a1ea47c0ab66acc8b97d6e76227646bbf6f0e6
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