mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
dma-buf: drop the _rcu postfix on function names v3
The functions can be called both in _rcu context as well as while holding the lock. v2: add some kerneldoc as suggested by Daniel v3: fix indentation Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210602111714.212426-7-christian.koenig@amd.com
This commit is contained in:
@@ -451,10 +451,9 @@ static int virtio_gpu_wait_ioctl(struct drm_device *dev, void *data,
|
||||
return -ENOENT;
|
||||
|
||||
if (args->flags & VIRTGPU_WAIT_NOWAIT) {
|
||||
ret = dma_resv_test_signaled_rcu(obj->resv, true);
|
||||
ret = dma_resv_test_signaled(obj->resv, true);
|
||||
} else {
|
||||
ret = dma_resv_wait_timeout_rcu(obj->resv, true, true,
|
||||
timeout);
|
||||
ret = dma_resv_wait_timeout(obj->resv, true, true, timeout);
|
||||
}
|
||||
if (ret == 0)
|
||||
ret = -EBUSY;
|
||||
|
||||
Reference in New Issue
Block a user