btrfs: switch GFP_NOFS to GFP_KERNEL in scrub_setup_recheck_block
authorDavid Sterba <dsterba@suse.com>
Fri, 14 Oct 2022 13:59:35 +0000 (15:59 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:43 +0000 (18:00 +0100)
commitfe10158c759cc978d0def69b5cb5efabecb42653
treea70d10047c30dd41b4d17ebfc283b457256f27b5
parente2896e791001b778e3bf8466dd8c6104245c08a2
btrfs: switch GFP_NOFS to GFP_KERNEL in scrub_setup_recheck_block

There's only one caller that calls scrub_setup_recheck_block in the
memalloc_nofs_save/_restore protection so it's effectively already
GFP_NOFS and it's safe to use GFP_KERNEL.

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c