mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
page cache: Finish XArray conversion
With no more radix tree API users left, we can drop the GFP flags and use xa_init() instead of INIT_RADIX_TREE(). Signed-off-by: Matthew Wilcox <[email protected]>
This commit is contained in:
parent
b15cd80068
commit
a283348629
2 changed files with 2 additions and 2 deletions
|
|
@ -349,7 +349,7 @@ EXPORT_SYMBOL(inc_nlink);
|
|||
|
||||
static void __address_space_init_once(struct address_space *mapping)
|
||||
{
|
||||
INIT_RADIX_TREE(&mapping->i_pages, GFP_ATOMIC | __GFP_ACCOUNT);
|
||||
xa_init_flags(&mapping->i_pages, XA_FLAGS_LOCK_IRQ);
|
||||
init_rwsem(&mapping->i_mmap_rwsem);
|
||||
INIT_LIST_HEAD(&mapping->private_list);
|
||||
spin_lock_init(&mapping->private_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue