diff options
author | Justin Husted <sigstop@gmail.com> | 2019-11-07 16:44:04 -0800 |
---|---|---|
committer | Justin Husted <sigstop@gmail.com> | 2019-11-07 16:44:04 -0800 |
commit | 76e147d0a937d6df65491cc5c559c13d38b82d83 (patch) | |
tree | 55f61ca5f52d79deccf8ace094ed588c87dce448 /tests/util.py | |
parent | ff695c5afb04ed619de5ff272f6b2bb2f00c209d (diff) |
Fix refcount bug in blkdev and timer kthreads.
The shutdown code in d79d57e and b20e160 had a race condition during
shutdown, due to not owning a reference on the associated task_struct
while the associated threads shut themselves down.
Patch over this by taking an appropriate reference.
Signed-off-by: Justin Husted <sigstop@gmail.com>
Diffstat (limited to 'tests/util.py')
0 files changed, 0 insertions, 0 deletions