dma-buf: fix dma_resv_test_signaled test_all handling v2
authorChristian König <christian.koenig@amd.com>
Sun, 6 Jun 2021 09:46:33 +0000 (11:46 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 8 Jul 2021 12:59:08 +0000 (14:59 +0200)
commit9d38814d1e346ea37a51cbf31f4424c9d059459e
tree5b3d567bb83bdb5fab98ff64afa5631daeb8b20b
parenta0356899ebe8ecde0da9c5685cc47154db973a5e
dma-buf: fix dma_resv_test_signaled test_all handling v2

As the name implies if testing all fences is requested we
should indeed test all fences and not skip the exclusive
one because we see shared ones.

v2: fix logic once more

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210702111642.17259-3-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c