]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb216db240162c1ee4812f2b692c145207f57a34
tree37091e4a46c4f854cb85008cd0a8156ad565111c
parenta8375d9fce30055d36dff61f3a7b1538734955d6
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