mm: split off __bdi_set_max_ratio() function
authorStefan Roesch <shr@devkernel.io>
Sat, 19 Nov 2022 00:52:01 +0000 (16:52 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Nov 2022 23:59:04 +0000 (15:59 -0800)
commitefc3e6ad53ea14225b434fddca261c9a1c56c707
tree0ce0c134ac6f0bd96505899dc41a0264527677db
parent00df7d51263b46ed93f7572e2d09579746f7b1eb
mm: split off __bdi_set_max_ratio() function

This splits off __bdi_set_max_ratio() from bdi_set_max_ratio().
__bdi_set_max_ratio() will also be called from bdi_set_max_bytes(),
which will be introduced in the next patch.

Link: https://lkml.kernel.org/r/20221119005215.3052436-7-shr@devkernel.io
Signed-off-by: Stefan Roesch <shr@devkernel.io>
Cc: Chris Mason <clm@meta.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page-writeback.c