f2fs: Convert to XArray
This is a straightforward conversion. Signed-off-by: Matthew Wilcox <willy@infradead.org>
This commit is contained in:
@@ -2697,13 +2697,13 @@ const struct address_space_operations f2fs_dblock_aops = {
|
||||
#endif
|
||||
};
|
||||
|
||||
void f2fs_clear_radix_tree_dirty_tag(struct page *page)
|
||||
void f2fs_clear_page_cache_dirty_tag(struct page *page)
|
||||
{
|
||||
struct address_space *mapping = page_mapping(page);
|
||||
unsigned long flags;
|
||||
|
||||
xa_lock_irqsave(&mapping->i_pages, flags);
|
||||
radix_tree_tag_clear(&mapping->i_pages, page_index(page),
|
||||
__xa_clear_mark(&mapping->i_pages, page_index(page),
|
||||
PAGECACHE_TAG_DIRTY);
|
||||
xa_unlock_irqrestore(&mapping->i_pages, flags);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user