aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_gem.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2020-10-09 13:08:55 +0000
committerChristian König <[email protected]>2020-11-19 09:35:58 +0000
commit1527f926fd04490f648c42f42b45218a04754f87 (patch)
treef817599287173a78196d50eacde0320a553d7289 /drivers/gpu/drm/omapdrm/omap_gem.c
parentchar/agp: Disable frontend without CONFIG_DRM_LEGACY (diff)
downloadkernel-1527f926fd04490f648c42f42b45218a04754f87.tar.gz
kernel-1527f926fd04490f648c42f42b45218a04754f87.zip
mm: mmap: fix fput in error path v2
Patch "495c10cc1c0c CHROMIUM: dma-buf: restore args..." adds a workaround for a bug in mmap_region. As the comment states ->mmap() callback can change vma->vm_file and so we might call fput() on the wrong file. Revert the workaround and proper fix this in mmap_region. v2: drop the extra if in dma_buf_mmap as well Signed-off-by: Christian König <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Acked-by: Andrew Morton <[email protected]> Link: https://patchwork.freedesktop.org/patch/399359/
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions