When a namespace is claimed by a 'btt' or 'pfn' instance it is expected
that attempts to bind the namespace will fail. Instead it is the 'btt'
or 'pfn' device that is bound to the driver.
Signed-off-by: Dan Williams <dan.j.williams(a)intel.com>
---
lib/libndctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libndctl.c b/lib/libndctl.c
index b85ae259827b..56838c8a2a92 100644
--- a/lib/libndctl.c
+++ b/lib/libndctl.c
@@ -3004,7 +3004,7 @@ static int ndctl_bind(struct ndctl_ctx *ctx, struct kmod_module
*module,
closedir(dir);
if (rc) {
- err(ctx, "%s: bind failed\n", devname);
+ dbg(ctx, "%s: bind failed\n", devname);
return -ENXIO;
}
return 0;
Show replies by thread