btrfs-progs: don't print message for a missing device
authorDavid Sterba <dsterba@suse.com>
Thu, 3 Mar 2016 10:33:04 +0000 (11:33 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 14 Mar 2016 12:42:47 +0000 (13:42 +0100)
The message

"warning devid %llu not found already\n",

does not seem to be too useful, it appears during several commands and
sometimes repeatedly.

Signed-off-by: David Sterba <dsterba@suse.com>
volumes.c

index cc3e6b7..4d22db2 100644 (file)
--- a/volumes.c
+++ b/volumes.c
@@ -1810,8 +1810,6 @@ static int read_one_dev(struct btrfs_root *root,
 
        device = btrfs_find_device(root, devid, dev_uuid, fs_uuid);
        if (!device) {
-               printk("warning devid %llu not found already\n",
-                       (unsigned long long)devid);
                device = kzalloc(sizeof(*device), GFP_NOFS);
                if (!device)
                        return -ENOMEM;