aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2018-06-07 20:52:54 -0400
committerJens Axboe <[email protected]>2018-06-08 08:41:17 -0600
commit28dec870aaf704af1421ac014f7f8abf4cac7c69 (patch)
tree8eeb2a26a9b8276cbe966ff77aae106f48c21221 /tools/perf/util/scripting-engines/trace-event-python.c
parent2a2a4c510b761e800098992cac61281c86527e5d (diff)
md: Unify mddev destruction paths
Previously, mddev_put() had a couple different paths for freeing a mddev, due to the fact that the kobject wasn't initialized when the mddev was first allocated. If we move the kobject_init() to when it's first allocated and just use kobject_add() later, we can clean all this up. This also removes a hack in mddev_put() to avoid freeing biosets under a spinlock, which involved copying biosets on the stack after the reset bioset_init() changes. Signed-off-by: Kent Overstreet <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions