diff options
| author | Jens Axboe <[email protected]> | 2021-12-20 20:32:24 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-12-20 20:32:24 -0700 |
| commit | a957b61254a7d59a6c14ee2ac2db20a62eb299a1 (patch) | |
| tree | a3987037f0103e3bf5118ec1845815b2810a1ced /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | 518579a9af10a4b7b952a8366566fdcc7cfce3ca (diff) | |
block: fix error in handling dead task for ioprio setting
Don't combine the task exiting and "already have io_context" case, we
need to just abort if the task is marked as dead. Return -ESRCH, which
is the documented value for ioprio_set() if the specified task could not
be found.
Reported-by: Dan Carpenter <[email protected]>
Reported-by: [email protected]
Fixes: 5fc11eebb4a9 ("block: open code create_task_io_context in set_task_ioprio")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions