Skip to content

Minor fixups for nd_device_register

Alexander Duyck linux-nvdimm lkml nvdimm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2nvdimm: Hold reference on parent while scheduling async initdrivers/nvdimm/bus.c+4 -01 reply
2/2nvdimm: Set device node in nd_device_registerdrivers/nvdimm/bus.c+10 -65 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Minor fixups for nd_device_register

This patch series addresses a couple minor issues in nd_device_register.

The first patch resolves an issue in which we weren't holding the parent lock so it is possible the parent could have been released prior to us taking care of initializing the device via the asynchronous init.

The second patch moves the initialization of the device node to the earliest point where we can do it. By doing this we can avoid repeatedly updating the node on each uevent.

---

Alexander Duyck (2):
nvdimm: Hold reference on parent while scheduling async init
nvdimm: Set device node in nd_device_register

 drivers/nvdimm/bus.c |   20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

--
_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm