block: remove gfp_flags from blkdev_zone_mgmt
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Mon, 29 Jan 2024 07:52:20 +0000 (23:52 -0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 12 Feb 2024 15:41:16 +0000 (08:41 -0700)
commit71f4ecdbb42addf82b01b734b122a02707fed521
treea502d4e5d0a6b6bc38a564cb51343270499e34b5
parent147ec1c60e3273d21ea1f212c6636f231d6d2771
block: remove gfp_flags from blkdev_zone_mgmt

Now that all callers pass in GFP_KERNEL to blkdev_zone_mgmt() and use
memalloc_no{io,fs}_{save,restore}() to define the allocation scope, we can
drop the gfp_mask parameter from blkdev_zone_mgmt() as well as
blkdev_zone_reset_all() and blkdev_zone_reset_all_emulated().

Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Mike Snitzer <snitzer@kernel.org>
Link: https://lore.kernel.org/r/20240128-zonefs_nofs-v3-5-ae3b7c8def61@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c
drivers/md/dm-zoned-metadata.c
drivers/nvme/target/zns.c
fs/btrfs/zoned.c
fs/f2fs/segment.c
fs/zonefs/super.c
include/linux/blkdev.h