diff options
| author | Matthew Wilcox <willy@infradead.org> | 2018-05-16 14:00:33 -0800 |
|---|---|---|
| committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 06:46:34 -0800 |
| commit | 3ece58a270cd1e5026282abe778bd50db7a11d08 (patch) | |
| tree | ed4feeec0489b4fa9e513e8817363944da48dd3d /.clang-format | |
| parent | fd1b3cee2a867868d39bb8cbcc4b00c36d07cc01 (diff) | |
| download | linux-stable-3ece58a270cd1e5026282abe778bd50db7a11d08.tar.gz linux-stable-3ece58a270cd1e5026282abe778bd50db7a11d08.tar.bz2 linux-stable-3ece58a270cd1e5026282abe778bd50db7a11d08.tar.xz linux-stable-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: | |||
| 323 | - 'protocol_for_each_card' | 323 | - 'protocol_for_each_card' |
| 324 | - 'protocol_for_each_dev' | 324 | - 'protocol_for_each_dev' |
| 325 | - 'queue_for_each_hw_ctx' | 325 | - 'queue_for_each_hw_ctx' |
| 326 | - 'radix_tree_for_each_contig' | ||
| 327 | - 'radix_tree_for_each_slot' | 326 | - 'radix_tree_for_each_slot' |
| 328 | - 'radix_tree_for_each_tagged' | 327 | - 'radix_tree_for_each_tagged' |
| 329 | - 'rbtree_postorder_for_each_entry_safe' | 328 | - 'rbtree_postorder_for_each_entry_safe' |
