diff options
author | Yue Hu <[email protected]> | 2022-05-25 10:32:22 +0800 |
---|---|---|
committer | David Howells <[email protected]> | 2022-07-05 16:12:20 +0100 |
commit | bf17455b9cbd4b10bf30d39c047307e1d774fb1a (patch) | |
tree | 08f6f7ffbae8ea1e89560930942824c304c0977d /scripts/gdb/linux/cpus.py | |
parent | 03c765b0e3b4cb5063276b086c76f7a612856a9a (diff) |
fscache: Fix if condition in fscache_wait_on_volume_collision()
After waiting for the volume to complete the acquisition with timeout,
the if condition under which potential volume collision occurs should be
acquire the volume is still pending rather than not pending so that we
will continue to wait until the pending flag is cleared. Also, use the
existing test pending wrapper directly instead of test_bit().
Fixes: 62ab63352350 ("fscache: Implement volume registration")
Signed-off-by: Yue Hu <[email protected]>
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Reviewed-by: Jeffle Xu <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
Link: https://listman.redhat.com/archives/linux-cachefs/2022-May/006918.html
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions