mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 22:05:08 +00:00
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>
This commit is contained in:
parent
c969e24c1b
commit
991d9020f3
@ -2070,9 +2070,6 @@ static struct device **scan_labels(struct nd_region *nd_region)
|
|||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
devs[count++] = dev;
|
devs[count++] = dev;
|
||||||
|
|
||||||
/* we only expect one valid pmem label set per region */
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user