aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2017-06-23 01:18:20 -0500
committerNicholas Bellinger <[email protected]>2017-07-06 23:11:42 -0700
commit9260695d65590f4711d1166eadbfcb0acfa0625a (patch)
treea5578a39bf795f15434f557a7b716dd40fe1abe5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent531283ff7593f7059ced43c725d90cec3e5af549 (diff)
tcmu: fix multiple uio open/close sequences
If the uio device is open and closed multiple times, the kref count will be off due to tcmu_release getting called multiple times for each close. This patch integrates Wenji Tang's patch to add a kref_get on open that now matches the kref_put done on tcmu_release and adds a kref_put in tcmu_destroy_device to match the kref_get done in succesful tcmu_configure_device calls. Signed-off-by: Mike Christie <[email protected]> Cc: Wenji Tang <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions