libnvdimm, pfn: fix nd_pfn_validate() return value handling
authorDan Williams <dan.j.williams@intel.com>
Sun, 13 Dec 2015 19:35:52 +0000 (11:35 -0800)
committerDan Williams <dan.j.williams@intel.com>
Thu, 24 Dec 2015 20:20:19 +0000 (12:20 -0800)
commit3fa962686568a1617d174e3d2f5d522e963077c5
treed4ae4c23a88575384d60cba1663ac61363037d75
parent979fccfb7348dbd968daf0249aa484a0297f83df
libnvdimm, pfn: fix nd_pfn_validate() return value handling

The -ENODEV case indicates that the info-block needs to established.
All other return codes cause nd_pfn_init() to abort.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c