summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-pmu.c
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2020-02-28 20:30:37 +0100
committerJason Gunthorpe <jgg@mellanox.com>2020-03-26 18:33:37 +0100
commitdfdc22078f3f064d2659acdc42d886834f3a3863 (patch)
tree4f1075acec97ffc965f156d6105e966ccea95efb /drivers/macintosh/via-pmu.c
parentLinux 5.6-rc3 (diff)
downloadlinux-dfdc22078f3f064d2659acdc42d886834f3a3863.tar.xz
linux-dfdc22078f3f064d2659acdc42d886834f3a3863.zip
mm/hmm: add missing unmaps of the ptep during hmm_vma_handle_pte()
Many of the direct returns of error skipped doing the pte_unmap(). All non zero exit paths must unmap the pte. The pte_unmap() is split unnaturally like this because some of the error exit paths trigger a sleep and must release the lock before sleeping. Fixes: 992de9a8b751 ("mm/hmm: allow to mirror vma of a file on a DAX backed filesystem") Fixes: 53f5c3f489ec ("mm/hmm: factor out pte and pmd handling to simplify hmm_vma_walk_pmd()") Reviewed-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/macintosh/via-pmu.c')
0 files changed, 0 insertions, 0 deletions