diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2016-10-19 15:48:32 -0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-09 22:01:56 +0100 |
commit | 3a83421d482e7d7c6f4251dcd825548e5262c054 (patch) | |
tree | e76435bc11edecd53195addef40200cfe43383a5 /lib/mpi/mpiutil.c | |
parent | 424bdc5df002f9f9d802f488f27696a68c0a5c59 (diff) |
dma-buf/sync_file: hold reference to fence when creating sync_file
commit 30cd85dd6edc86ea8d8589efb813f1fad41ef233 upstream.
fence referencing was out of balance. It was not taking any ref to the
fence at creating time, but it was putting a reference when freeing the
sync file.
This patch fixes the balancing issue by getting a reference for the fence
when creating the sync_file.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1476899313-22241-1-git-send-email-gustavo@padovan.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions