summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2017-03-10 01:16:45 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2017-03-10 02:01:09 +0100
commitb2e593e271b0760ebc8999e5f9dd068ae2b9d30a (patch)
treecafd706b335db08092cea4ed58b6510321910906 /fs
parentx86, mm: fix gup_pte_range() vs DAX mappings (diff)
downloadlinux-b2e593e271b0760ebc8999e5f9dd068ae2b9d30a.tar.xz
linux-b2e593e271b0760ebc8999e5f9dd068ae2b9d30a.zip
x86, mm: unify exit paths in gup_pte_range()
All exit paths from gup_pte_range() require pte_unmap() of the original pte page before returning. Refactor the code to have a single exit point to do the unmap. This mirrors the flow of the generic gup_pte_range() in mm/gup.c. Link: http://lkml.kernel.org/r/148804251828.36605.14910389618497006945.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions