libnvdimm, pfn: fix restoring memmap location
authorDan Williams <dan.j.williams@intel.com>
Sat, 30 Jan 2016 01:42:51 +0000 (17:42 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 30 Jan 2016 01:43:16 +0000 (17:43 -0800)
commit45eb570a0db3391c88cba04510a20fe7e4125497
tree37091e4a46c4f854cb85008cd0a8156ad565111c
parent9c41242817f4b6d908886c0fdb036d9246c50630
libnvdimm, pfn: fix restoring memmap location

This path was missed when turning on the memmap in pmem support.  Permit
'pmem' as a valid location for the map.

Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pfn_devs.c