Message ID | 156479009665.707590.3051993945223301734.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Improvements for namespace creation/interrogation | expand |
diff --git a/ndctl/namespace.c b/ndctl/namespace.c index a654460ce4c5..26d03358c80d 100644 --- a/ndctl/namespace.c +++ b/ndctl/namespace.c @@ -997,7 +997,7 @@ retry: int num_labels, avail; ndctl_cmd_unref(cmd_read); - cmd_read = ndctl_dimm_read_labels(dimm); + cmd_read = ndctl_dimm_read_label_index(dimm); if (!cmd_read) continue;
Use the new ndctl_dimm_read_label_index() helper to minimize the amount of label I/O needed to execute an autolabel event. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- ndctl/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)