sync_file: get rid of internal reference count.
authorDave Airlie <airlied@redhat.com>
Thu, 13 Apr 2017 01:41:38 +0000 (11:41 +1000)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Tue, 18 Apr 2017 13:27:38 +0000 (10:27 -0300)
commitd8f2ebaac650dc35db3bf5cf10e8ee1115b455f8
tree090060672c15542296e506200bac6e71d566eae2
parent2e38178e23e63b193654af9a11bb4a3cb4b999a5
sync_file: get rid of internal reference count.

sync_file uses the reference count of the file, the internal
kref was never getting moved past 1.

We can reintroduce this if we decide we need it later.

[airlied: fix buildbot warnings]

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170413014144.637-2-airlied@gmail.com
drivers/dma-buf/sync_file.c
include/linux/sync_file.h