diff options
author | Alexander Duyck <alexander.h.duyck@linux.intel.com> | 2018-09-25 22:53:02 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-09-26 21:02:31 +0200 |
commit | b6eae0f61db27748606cc00dafcfd1e2c032f0a5 (patch) | |
tree | 98569b815acec26be1d8a78ddfcecd4ac8cd60c7 /scripts/selinux | |
parent | libnvdimm: remove duplicate include (diff) | |
download | linux-b6eae0f61db27748606cc00dafcfd1e2c032f0a5.tar.xz linux-b6eae0f61db27748606cc00dafcfd1e2c032f0a5.zip |
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: <stable@vger.kernel.org>
Fixes: 4d88a97aa9e8 ("libnvdimm: ...base ... infrastructure")
Signed-off-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'scripts/selinux')
0 files changed, 0 insertions, 0 deletions