aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2021-04-06 16:40:33 -0300
committerAlex Williamson <[email protected]>2021-04-07 15:39:18 -0600
commitfbea43239074e16c91048f5ce70378664efbdb99 (patch)
tree7f5e3283f9fb4716fc3f0461229d752cbdba2b1c /tools/perf/util/trace-event-scripting.c
parent18d731242d5c67c0783126c42d3f85870cec2df5 (diff)
vfio/mdev: Remove duplicate storage of parent in mdev_device
mdev_device->type->parent is the same thing. The struct mdev_device was relying on the kref on the mdev_parent to also indirectly hold a kref on the mdev_type pointer. Now that the type holds a kref on the parent we can directly kref the mdev_type and remove this implicit relationship. Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Cornelia Huck <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Message-Id: <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions