summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-10-06 00:54:46 +0200
committerDan Williams <dan.j.williams@intel.com>2016-10-07 18:22:53 +0200
commit991d9020f3e0447ea00c7c7f11fed364d977320a (patch)
treec9675e3b57221fd1cc110018a7a757e9100fe7d1 /drivers/nvdimm
parentlibnvdimm, namespace: filter out of range labels in scan_labels() (diff)
downloadlinux-991d9020f3e0447ea00c7c7f11fed364d977320a.tar.xz
linux-991d9020f3e0447ea00c7c7f11fed364d977320a.zip
libnvdimm, namespace: lift single pmem limit in scan_labels()
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>
Diffstat (limited to 'drivers/nvdimm')
-rw-r--r--drivers/nvdimm/namespace_devs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
index 54babc3a80ca..fa51d751ccf7 100644
--- a/drivers/nvdimm/namespace_devs.c
+++ b/drivers/nvdimm/namespace_devs.c
@@ -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;
}
}