libnvdimm: fix mode determination for e820 devices
authorDan Williams <dan.j.williams@intel.com>
Sat, 23 Jan 2016 23:34:10 +0000 (15:34 -0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 26 Jan 2016 17:40:32 +0000 (09:40 -0800)
commit9c41242817f4b6d908886c0fdb036d9246c50630
tree670527d47e04acfd29c587d968eb9c9617d192dd
parent92e963f50fc74041b5e9e744c330dca48e04f08d
libnvdimm: fix mode determination for e820 devices

Correctly display "safe" mode when a btt is established on a e820/memmap
defined pmem namespace.

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