Matthew Wilcox (Oracle) 842ca547f7 mm: move page_mapping_file to pagemap.h
page_mapping_file() is only used by some architectures, and then it
is usually only used in one place.  Make it a static inline function
so other architectures don't have to carry this dead code.

Link: https://lkml.kernel.org/r/20210317123011.350118-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Huang Ying <ying.huang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-04-30 11:20:37 -07:00
..
2021-04-29 11:28:08 -07:00
2021-04-29 11:28:08 -07:00
2021-04-29 11:28:08 -07:00
2021-03-10 15:18:48 +01:00
2021-04-06 15:12:58 +02:00
2021-03-10 15:18:40 +01:00
2021-01-22 11:40:00 +01:00
2021-04-29 11:28:08 -07:00
2020-09-16 22:40:58 +02:00
2021-01-22 11:40:00 +01:00
2021-04-30 11:20:36 -07:00
2021-02-21 13:18:26 -08:00