aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-09-01 14:53:41 -0400
committerJeff Layton <jlayton@primarydata.com>2014-10-07 14:06:13 -0400
commit03d12ddf845a4eb874ffa558d65a548aee9b715b (patch)
tree50938f4d5a07c448a8efa3d70367c3ceea669450 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentlocks: remove i_have_this_lease check from __break_lease (diff)
downloadwireguard-linux-03d12ddf845a4eb874ffa558d65a548aee9b715b.tar.xz
wireguard-linux-03d12ddf845a4eb874ffa558d65a548aee9b715b.zip
locks: __break_lease cleanup in preparation of allowing direct removal of leases
Eliminate an unneeded "flock" variable. We can use "fl" as a loop cursor everywhere. Add a any_leases_conflict helper function as well to consolidate a bit of code. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions