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)
commit47091e4ed9af648d6cfa3a5f0809ece371294ecb
tree32be1494ea4fe139c6176c6ca5fd6a0d3046fb05
parent25885a35a72007cf28ec5f9ba7169c5c798f7167
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