diff mbox

[ndctl] ndctl: quiet ndctl_bind()

Message ID 20160208224358.29125.69341.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State Accepted
Commit 245c89ff30ab
Headers show

Commit Message

Dan Williams Feb. 8, 2016, 10:44 p.m. UTC
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@intel.com>
---
 lib/libndctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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;