btrfs: scrub: remove the force parameter from scrub_pages
authorQu Wenruo <wqu@suse.com>
Tue, 3 Nov 2020 13:31:02 +0000 (21:31 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 8 Dec 2020 14:54:04 +0000 (15:54 +0100)
commit96e63a45fb9a40ba49813c1e538358f3cedbedba
tree15ad8d29b3f47caae7563dc2307b8a24d5f3efdb
parent261d2dcb24302b220281f989d978268310a31bed
btrfs: scrub: remove the force parameter from scrub_pages

The @force parameter for scrub_pages() is to indicate whether we want to
force bio submission.  Currently it's only used for the super block,
and it can be easily determined by the @flags, so we can remove the
parameter.

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