[PATCH] nvdimm: Avoid race between probe and reading device attributes