libnvdimm, namespace: lift single pmem limit in scan_labels()
authorDan Williams <dan.j.williams@intel.com>
Wed, 5 Oct 2016 22:54:46 +0000 (15:54 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 7 Oct 2016 16:22:53 +0000 (09:22 -0700)
Now that the rest of the infrastructure has been converted to handle
multi-pmem configurations, lift the artificial barrier at scan time.

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

index 54babc3..fa51d75 100644 (file)
@@ -2070,9 +2070,6 @@ static struct device **scan_labels(struct nd_region *nd_region)
                                }
                        } else
                                devs[count++] = dev;
-
-                       /* we only expect one valid pmem label set per region */
-                       break;
                }
        }