Christian König
1527f926fd
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 <christian.koenig@amd.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Link: https://patchwork.freedesktop.org/patch/399359/
2020-11-19 10:35:58 +01:00
..
2020-10-13 18:38:32 -07:00
2020-09-24 13:43:39 -06:00
2019-09-04 07:42:01 -04:00
2019-07-12 12:24:03 -07:00
2020-07-10 13:54:00 -07:00
2020-08-12 10:57:57 -07:00
2020-09-01 09:19:43 +02:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:14 -07:00
2020-10-13 18:38:29 -07:00
2020-10-13 18:38:32 -07:00
2020-01-31 10:30:38 -08:00
2020-10-13 18:38:29 -07:00
2020-10-23 11:33:41 -07:00
2020-06-09 09:39:14 -07:00
2020-08-14 19:56:56 -07:00
2020-10-18 09:27:09 -07:00
2020-10-16 11:11:21 -07:00
2020-10-16 11:11:18 -07:00
2020-08-12 10:58:02 -07:00
2020-10-16 11:11:15 -07:00
2020-08-21 09:52:52 -07:00
2020-11-02 12:14:18 -08:00
2020-10-16 11:11:16 -07:00
2020-06-09 09:39:14 -07:00
2020-10-16 11:11:19 -07:00
2020-08-07 11:33:26 -07:00
2020-10-18 09:27:10 -07:00
2020-06-14 01:57:21 +09:00
2020-10-16 11:11:22 -07:00
2020-10-13 18:38:27 -07:00
2020-10-15 07:49:40 +02:00
2020-08-14 19:56:57 -07:00
2020-08-12 10:57:59 -07:00
2020-10-18 09:27:10 -07:00
2020-10-13 18:38:27 -07:00
2020-04-02 09:35:29 -07:00
2020-10-15 07:49:46 +02:00
2020-11-02 12:14:18 -08:00
2019-09-24 15:54:08 -07:00
2020-10-18 09:27:09 -07:00
2020-10-18 09:27:09 -07:00
2020-10-18 09:27:10 -07:00
2020-11-02 12:14:19 -08:00
2020-10-13 18:38:34 -07:00
2020-11-02 12:14:18 -08:00
2020-10-18 09:27:09 -07:00
2020-10-13 18:38:29 -07:00
2020-09-19 13:13:38 -07:00
2020-08-07 11:33:26 -07:00
2020-11-19 10:35:58 +01:00
2020-06-09 09:39:14 -07:00
2020-10-16 11:11:17 -07:00
2020-09-04 12:46:07 +01:00
2020-08-07 11:33:27 -07:00
2020-06-09 09:39:14 -07:00
2020-10-18 09:27:10 -07:00
2020-10-13 18:38:35 -07:00
2020-10-16 11:31:55 -07:00
2020-10-13 18:38:30 -07:00
2020-04-07 10:43:40 -07:00
2020-06-08 11:05:55 -07:00
2020-10-13 18:38:30 -07:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:17 -07:00
2020-10-16 11:11:19 -07:00
2020-06-09 09:39:13 -07:00
2020-08-14 19:56:56 -07:00
2020-10-16 11:11:15 -07:00
2020-06-09 09:39:14 -07:00
2020-08-12 10:57:55 -07:00
2020-08-12 10:57:55 -07:00
2020-08-12 10:57:55 -07:00
2020-08-12 10:57:55 -07:00
2020-10-18 09:27:09 -07:00
2020-08-07 11:33:26 -07:00
2020-06-09 09:39:13 -07:00
2020-10-27 12:41:29 -07:00
2020-06-09 09:39:14 -07:00
2020-10-17 13:49:08 -06:00
2020-10-16 11:11:15 -07:00
2020-08-21 09:52:53 -07:00
2020-10-16 11:11:15 -07:00
2020-10-16 11:11:19 -07:00
2020-08-07 11:33:29 -07:00
2020-08-12 10:57:58 -07:00
2020-10-16 11:11:19 -07:00
2020-10-18 09:27:09 -07:00
2020-08-07 11:33:24 -07:00
2020-10-16 11:11:19 -07:00
2020-08-07 11:33:27 -07:00
2020-10-16 11:11:18 -07:00
2020-06-03 20:09:48 -07:00
2020-10-13 18:38:30 -07:00
2020-10-16 11:11:19 -07:00
2020-10-13 18:38:33 -07:00
2020-10-13 18:38:30 -07:00
2020-11-02 12:14:19 -08:00
2020-08-12 10:57:58 -07:00
2020-08-12 10:57:55 -07:00
2020-10-16 11:11:17 -07:00
2020-06-10 19:14:18 -07:00
2020-10-18 09:27:10 -07:00
2020-04-02 09:35:31 -07:00
2020-10-16 11:11:19 -07:00
2020-10-16 11:11:17 -07:00
2020-10-20 14:39:37 -07:00
2020-10-13 18:38:34 -07:00
2020-10-13 18:38:34 -07:00
2020-08-12 10:57:58 -07:00
2020-10-18 09:27:10 -07:00
2020-04-07 10:43:41 -07:00