]> git.baikalelectronics.ru Git - kernel.git/commit
dma_buf_getfile(): don't bother with ->f_flags reassignments
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 20 Jun 2021 17:53:35 +0000 (13:53 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 17 Aug 2022 21:25:54 +0000 (17:25 -0400)
commitdb242044905aaea8c642ae80f8167f49440761fd
tree32be1494ea4fe139c6176c6ca5fd6a0d3046fb05
parent1153080a7fc83f6b700686163e1d0e82f900981d
dma_buf_getfile(): don't bother with ->f_flags reassignments

just pass the already sanitized value to alloc_file_pseudo().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/dma-buf/dma-buf.c