mm: convert insert_pfn() to vm_fault_t
authorMatthew Wilcox <[email protected]>
Fri, 26 Oct 2018 22:04:40 +0000 (15:04 -0700)
committerLinus Torvalds <[email protected]>
Fri, 26 Oct 2018 23:25:20 +0000 (16:25 -0700)
commit9b5a8e00d479bb5e55f6902bf50877c080d9506d
treef5cd2337af189839ee2868b99a490bd0c1c256b8
parent79f3aa5ba989a1fa6e2ef189f2abdfcee25ba663
mm: convert insert_pfn() to vm_fault_t

All callers convert its errno into a vm_fault_t, so convert it to return a
vm_fault_t directly.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Nicolas Pitre <[email protected]>
Cc: Souptick Joarder <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memory.c