Re: [PATCH 1/2] nvdimm: Hold reference on parent while scheduling async init
From: Dan Williams
Date: Tue Sep 25 2018 - 17:10:03 EST
On Tue, Sep 25, 2018 at 1:53 PM Alexander Duyck
<alexander.h.duyck@xxxxxxxxxxxxxxx> wrote:
>
> 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.
Looks good to me. Thanks for splitting this out, applied.