diff options
author | Matthew Wilcox <willy@infradead.org> | 2017-12-04 20:25:25 -0500 |
---|---|---|
committer | Matthew Wilcox <willy@infradead.org> | 2018-10-21 10:46:42 -0400 |
commit | 5ec2d99de7427c84bb7250d23f5acf49a3670a63 (patch) | |
tree | 28161331b753dc379fcadc424fa3eb640b6fdb80 /fs/f2fs/data.c | |
parent | f611ff63751afa421edc1eddf4281de13e082c51 (diff) |
f2fs: Convert to XArray
This is a straightforward conversion.
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'fs/f2fs/data.c')
-rw-r--r-- | fs/f2fs/data.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 5b760809eecc..6962491172a5 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c | |||
@@ -2697,13 +2697,13 @@ const struct address_space_operations f2fs_dblock_aops = { | |||
2697 | #endif | 2697 | #endif |
2698 | }; | 2698 | }; |
2699 | 2699 | ||
2700 | void f2fs_clear_radix_tree_dirty_tag(struct page *page) | 2700 | void f2fs_clear_page_cache_dirty_tag(struct page *page) |
2701 | { | 2701 | { |
2702 | struct address_space *mapping = page_mapping(page); | 2702 | struct address_space *mapping = page_mapping(page); |
2703 | unsigned long flags; | 2703 | unsigned long flags; |
2704 | 2704 | ||
2705 | xa_lock_irqsave(&mapping->i_pages, flags); | 2705 | xa_lock_irqsave(&mapping->i_pages, flags); |
2706 | radix_tree_tag_clear(&mapping->i_pages, page_index(page), | 2706 | __xa_clear_mark(&mapping->i_pages, page_index(page), |
2707 | PAGECACHE_TAG_DIRTY); | 2707 | PAGECACHE_TAG_DIRTY); |
2708 | xa_unlock_irqrestore(&mapping->i_pages, flags); | 2708 | xa_unlock_irqrestore(&mapping->i_pages, flags); |
2709 | } | 2709 | } |