diff mbox series

[v2,01/12] mm: export balance_dirty_pages_ratelimited_flags()

Message ID 20220908002616.3189675-2-shr@fb.com (mailing list archive)
State New
Headers show
Series io-uring/btrfs: support async buffered writes | expand

Commit Message

Stefan Roesch Sept. 8, 2022, 12:26 a.m. UTC
Export the function balance_dirty_pages_ratelimited_flags(). It is now
also called from btrfs.

Signed-off-by: Stefan Roesch <shr@fb.com>
Reported-by: kernel test robot <lkp@intel.com>
---
 mm/page-writeback.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Filipe Manana Sept. 8, 2022, 10:18 a.m. UTC | #1
On Thu, Sep 8, 2022 at 1:26 AM Stefan Roesch <shr@fb.com> wrote:
>
> Export the function balance_dirty_pages_ratelimited_flags(). It is now
> also called from btrfs.
>
> Signed-off-by: Stefan Roesch <shr@fb.com>
> Reported-by: kernel test robot <lkp@intel.com>
> ---
>  mm/page-writeback.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/mm/page-writeback.c b/mm/page-writeback.c
> index 032a7bf8d259..7e9d8d857ecc 100644
> --- a/mm/page-writeback.c
> +++ b/mm/page-writeback.c
> @@ -1933,6 +1933,7 @@ int balance_dirty_pages_ratelimited_flags(struct address_space *mapping,
>         wb_put(wb);
>         return ret;
>  }
> +EXPORT_SYMBOL_GPL(balance_dirty_pages_ratelimited_flags);

Even though it's a trivial change, the linux-mm list should be CC'ed.

Thanks.

>
>  /**
>   * balance_dirty_pages_ratelimited - balance dirty memory state.
> --
> 2.30.2
>
diff mbox series

Patch

diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 032a7bf8d259..7e9d8d857ecc 100644
--- a/mm/page-writeback.c
+++ b/mm/page-writeback.c
@@ -1933,6 +1933,7 @@  int balance_dirty_pages_ratelimited_flags(struct address_space *mapping,
 	wb_put(wb);
 	return ret;
 }
+EXPORT_SYMBOL_GPL(balance_dirty_pages_ratelimited_flags);
 
 /**
  * balance_dirty_pages_ratelimited - balance dirty memory state.