mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	mm: Export migrate_page_move_mapping and migrate_page_copy
Export these symbols such that UBIFS can implement ->migratepage. Cc: stable@vger.kernel.org Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
		
							parent
							
								
									972228d874
								
							
						
					
					
						commit
						1118dce773
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -431,6 +431,7 @@ int migrate_page_move_mapping(struct address_space *mapping,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return MIGRATEPAGE_SUCCESS;
 | 
						return MIGRATEPAGE_SUCCESS;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					EXPORT_SYMBOL(migrate_page_move_mapping);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
 * The expected number of remaining references is the same as that
 | 
					 * The expected number of remaining references is the same as that
 | 
				
			||||||
| 
						 | 
					@ -586,6 +587,7 @@ void migrate_page_copy(struct page *newpage, struct page *page)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	mem_cgroup_migrate(page, newpage);
 | 
						mem_cgroup_migrate(page, newpage);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					EXPORT_SYMBOL(migrate_page_copy);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/************************************************************
 | 
					/************************************************************
 | 
				
			||||||
 *                    Migration functions
 | 
					 *                    Migration functions
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue