aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2021-11-29 15:51:25 +1100
committerChuck Lever <chuck.lever@oracle.com>2021-12-13 13:42:56 -0500
commit865b674069e05e5779fcf8cf7a166d2acb7e930b (patch)
tree2d260168238e0d3658de4e5ed43614332a9b6929 /tools/perf/scripts/python/export-to-postgresql.py
parentlockd: move svc_exit_thread() into the thread (diff)
downloadwireguard-linux-865b674069e05e5779fcf8cf7a166d2acb7e930b.tar.xz
wireguard-linux-865b674069e05e5779fcf8cf7a166d2acb7e930b.zip
lockd: introduce lockd_put()
There is some cleanup that is duplicated in lockd_down() and the failure path of lockd_up(). Factor these out into a new lockd_put() and call it from both places. lockd_put() does *not* take the mutex - that must be held by the caller. It decrements nlmsvc_users and if that reaches zero, it cleans up. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions