]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
dma-buf: fix reservation_object_wait_timeout_rcu once more v2
authorChristian König <ckoenig.leichtzumerken@gmail.com>
Mon, 22 Jan 2018 20:00:03 +0000 (21:00 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jan 2018 15:46:39 +0000 (10:46 -0500)
commit5bffee867df7494ecd32c1e6ec4e8fc934c521b7
treea1f67f409659ef5dc2057553614ef7d944e6013f
parent341a0ffceaa44660c43d219a3b2569ebbd7d3ad1
dma-buf: fix reservation_object_wait_timeout_rcu once more v2

We need to set shared_count even if we already have a fence to wait for.

v2: init i to -1 as well

Signed-off-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org
Tested-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180122200003.6665-1-christian.koenig@amd.com
drivers/dma-buf/reservation.c