diff options
Diffstat (limited to 'fs/inode.c')
-rw-r--r-- | fs/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c index bd48e5e6d3e8..a903860bc5ac 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -166,7 +166,7 @@ struct inode *inode_init_always(struct super_block *sb, struct inode *inode) | |||
166 | mapping->a_ops = &empty_aops; | 166 | mapping->a_ops = &empty_aops; |
167 | mapping->host = inode; | 167 | mapping->host = inode; |
168 | mapping->flags = 0; | 168 | mapping->flags = 0; |
169 | mapping_set_gfp_mask(mapping, GFP_HIGHUSER_PAGECACHE); | 169 | mapping_set_gfp_mask(mapping, GFP_HIGHUSER_MOVABLE); |
170 | mapping->assoc_mapping = NULL; | 170 | mapping->assoc_mapping = NULL; |
171 | mapping->backing_dev_info = &default_backing_dev_info; | 171 | mapping->backing_dev_info = &default_backing_dev_info; |
172 | mapping->writeback_index = 0; | 172 | mapping->writeback_index = 0; |
@@ -601,7 +601,7 @@ EXPORT_SYMBOL_GPL(inode_add_to_lists); | |||
601 | * @sb: superblock | 601 | * @sb: superblock |
602 | * | 602 | * |
603 | * Allocates a new inode for given superblock. The default gfp_mask | 603 | * Allocates a new inode for given superblock. The default gfp_mask |
604 | * for allocations related to inode->i_mapping is GFP_HIGHUSER_PAGECACHE. | 604 | * for allocations related to inode->i_mapping is GFP_HIGHUSER_MOVABLE. |
605 | * If HIGHMEM pages are unsuitable or it is known that pages allocated | 605 | * If HIGHMEM pages are unsuitable or it is known that pages allocated |
606 | * for the page cache are not reclaimable or migratable, | 606 | * for the page cache are not reclaimable or migratable, |
607 | * mapping_set_gfp_mask() must be called with suitable flags on the | 607 | * mapping_set_gfp_mask() must be called with suitable flags on the |