[4/4] Btrfs: avoid user cli usage error logging into the sys log
diff mbox

Message ID 1433139379-640-4-git-send-email-anand.jain@oracle.com
State New
Headers show

Commit Message

Anand Jain June 1, 2015, 6:16 a.m. UTC
The error code is already been propagated to the user land.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 fs/btrfs/volumes.c | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index cafedaa..5c96df4 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -199,7 +199,6 @@  btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder,
 
 	if (IS_ERR(*bdev)) {
 		ret = PTR_ERR(*bdev);
-		printk(KERN_INFO "BTRFS: open %s failed\n", device_path);
 		goto error;
 	}