btrfs-progs: don't print message for a missing device

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>
master
David Sterba 2016-03-03 11:33:04 +01:00
parent 5851386ce2
commit 5a3cbe16db
1 changed files with 0 additions and 2 deletions

View File

@ -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;