diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-11-15 19:54:25 +0300 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2022-01-13 17:36:58 +0300 |
commit | 1a48db3fef499f615b56093947ec4b0d3d8e3021 (patch) | |
tree | 9e3a4329e9b28aaea39c1e1523dcd43b68f4e29f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 776d794f28c95051bc70405a7b1fa40115658a18 (diff) | |
download | linux-1a48db3fef499f615b56093947ec4b0d3d8e3021.tar.xz |
sunrpc: Fix potential race conditions in rpc_sysfs_xprt_state_change()
We need to use test_and_set_bit() when changing xprt state flags to
avoid potentially getting xps->xps_nactive out of sync.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions