summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Roesch <shr@fb.com>2022-09-12 21:27:41 +0200
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:28:07 +0200
commit611df5d6616d80a22906c352ccd80c395982fbd9 (patch)
treeeb2a9db6f3c1f2b80d3a3986ec77eb159bb4fccc
parentbtrfs: relax block-group-tree feature dependency checks (diff)
downloadlinux-611df5d6616d80a22906c352ccd80c395982fbd9.tar.xz
linux-611df5d6616d80a22906c352ccd80c395982fbd9.zip
mm: export balance_dirty_pages_ratelimited_flags()
Export the function balance_dirty_pages_ratelimited_flags(). It is now also called from btrfs. Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Stefan Roesch <shr@fb.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r--mm/page-writeback.c1
1 files changed, 1 insertions, 0 deletions
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.