Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b8cf4222 authored by Vinayak Menon's avatar Vinayak Menon
Browse files

drivers: dma-buf: replace dma_buf_put with fput in free_proc



free_proc does a dma_buf_put to free the reference taken by
get_dma_info. But get_dma_info takes the reference using get_file.
This causes the dma-buf-ref code to save stack references only on
put and thus dma_buf_ref_show shows incorrect total references.

Change-Id: Ib7c7599c13a9e0875bda06925da4191fe3ed8cc7
Signed-off-by: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent ee668536
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment