diff options
| author | Andreas Gruenbacher <[email protected]> | 2025-06-24 18:41:37 +0000 |
|---|---|---|
| committer | Andreas Gruenbacher <[email protected]> | 2025-07-15 02:20:40 +0000 |
| commit | 92cef39bb3c1734a9b55693047720198c90f8a4f (patch) | |
| tree | 8abe4caab930bb5295c640c18ee9c493040a05aa /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | gfs2: sanitize the gdlm_ast -> finish_xmote interface (diff) | |
| download | kernel-92cef39bb3c1734a9b55693047720198c90f8a4f.tar.gz kernel-92cef39bb3c1734a9b55693047720198c90f8a4f.zip | |
gfs2: simplify finish_xmote
As a follow-up to commit a431d49243a0 ("gfs2: Fix request cancelation
bug"), it turns out that any call to finish_xmote() is always followed
by a call to run_queue(), either
* directly when glock_work_func() calls finish_xmote() before calling
run_queue(), or
* indirectly when do_xmote() calls finish_xmote() before calling
gfs2_glock_queue_work(), which queues a call to glock_work_func() in
work queue context,
so remove the code in finish_xmote() that duplicates the functionality
of run_queue().
In addition, the code this commit removes is missing a check for the
GLF_DEMOTE flag which indicates that no further promotes should be
performed, so if that code didn't get removed, that check would have to
be added.
Signed-off-by: Andreas Gruenbacher <[email protected]>
Reviewed-by: Andrew Price <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
