1*2f52578fSMatthew Wilcox (Oracle) /* 2*2f52578fSMatthew Wilcox (Oracle) * Compatibility functions which bloat the callers too much to make inline. 3*2f52578fSMatthew Wilcox (Oracle) * All of the callers of these functions should be converted to use folios 4*2f52578fSMatthew Wilcox (Oracle) * eventually. 5*2f52578fSMatthew Wilcox (Oracle) */ 6*2f52578fSMatthew Wilcox (Oracle) 7*2f52578fSMatthew Wilcox (Oracle) #include <linux/pagemap.h> 8*2f52578fSMatthew Wilcox (Oracle) 9*2f52578fSMatthew Wilcox (Oracle) struct address_space *page_mapping(struct page *page) 10*2f52578fSMatthew Wilcox (Oracle) { 11*2f52578fSMatthew Wilcox (Oracle) return folio_mapping(page_folio(page)); 12*2f52578fSMatthew Wilcox (Oracle) } 13*2f52578fSMatthew Wilcox (Oracle) EXPORT_SYMBOL(page_mapping); 14