diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-05-16 18:00:33 -0400 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 10:46:34 -0400 |
commit | 3ece58a270cd1e5026282abe778bd50db7a11d08 (patch) | |
tree | ed4feeec0489b4fa9e513e8817363944da48dd3d /.clang-format | |
parent | fd1b3cee2a867868d39bb8cbcc4b00c36d07cc01 (diff) | |
download | linux-starfive-3ece58a270cd1e5026282abe778bd50db7a11d08.tar.gz linux-starfive-3ece58a270cd1e5026282abe778bd50db7a11d08.tar.bz2 linux-starfive-3ece58a270cd1e5026282abe778bd50db7a11d08.zip |
page cache: Convert find_get_pages_contig to XArray
There's no direct replacement for radix_tree_for_each_contig()
in the XArray API as it's an unusual thing to do. Instead,
open-code a loop using xas_next(). This removes the only user of
radix_tree_for_each_contig() so delete the iterator from the API and
the test suite code for it.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index 1d5da22e0ba5..e6080f5834a3 100644 --- a/.clang-format +++ b/.clang-format @@ -323,7 +323,6 @@ ForEachMacros: - 'protocol_for_each_card' - 'protocol_for_each_dev' - 'queue_for_each_hw_ctx' - - 'radix_tree_for_each_contig' - 'radix_tree_for_each_slot' - 'radix_tree_for_each_tagged' - 'rbtree_postorder_for_each_entry_safe' |