diff options
author | Alexander Duyck <[email protected]> | 2018-09-25 13:53:02 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2018-09-26 12:02:31 -0700 |
commit | b6eae0f61db27748606cc00dafcfd1e2c032f0a5 (patch) | |
tree | 98569b815acec26be1d8a78ddfcecd4ac8cd60c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3c5c98d135f50c516631806ce77e50e7ce33bde8 (diff) |
libnvdimm: Hold reference on parent while scheduling async init
Unlike asynchronous initialization in the core we have not yet associated
the device with the parent, and as such the device doesn't hold a reference
to the parent.
In order to resolve that we should be holding a reference on the parent
until the asynchronous initialization has completed.
Cc: <[email protected]>
Fixes: 4d88a97aa9e8 ("libnvdimm: ...base ... infrastructure")
Signed-off-by: Alexander Duyck <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions