summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2026-01-30 00:19:50 +0800
committerJens Axboe <axboe@kernel.dk>2026-01-31 06:36:41 -0700
commit66d3af8d5d678d221776a1886baec8d78293592c (patch)
treece6411d52b5d49d9fa90419735b3415f3db482fe /tools/perf/scripts/python/task-analyzer.py
parent373df2c0255da77f0842368708afce771e1330ca (diff)
downloadlinux-66d3af8d5d678d221776a1886baec8d78293592c.tar.gz
linux-66d3af8d5d678d221776a1886baec8d78293592c.zip
ublk: check list membership before cancelling batch fetch command
Add !list_empty(&fcmd->node) check in ublk_batch_cancel_cmd() to ensure the fcmd hasn't already been removed from the list. Once an fcmd is removed from the list, it's considered claimed by whoever removed it and will be freed by that path. Meantime switch to list_del_init() for deleting it from list. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions