summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-04-04 23:06:29 +0300
committerDavid Teigland <teigland@redhat.com>2022-04-06 22:01:49 +0300
commit67e4d8c51dc6e1cc1c2e559ed6fcf9ea1bca654a (patch)
treedeb640eb9afed2285c871e0aac02a118c414e461 /tools/perf/scripts/python/task-analyzer.py
parent1f4f10845e14690b02410de50d9ea9684625a4ae (diff)
downloadlinux-67e4d8c51dc6e1cc1c2e559ed6fcf9ea1bca654a.tar.xz
dlm: fix missing check in validate_lock_args
This patch adds a additional check if lkb->lkb_wait_count is non zero as it is done in validate_unlock_args() to check if any operation is in progress. While on it add a comment taken from validate_unlock_args() to signal what the check is doing. There might be no changes because if lkb->lkb_wait_type is non zero implies that lkb->lkb_wait_count is non zero. However we should add the check as it does validate_unlock_args(). Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions