path: root/volumes.c
diff options
authorDavid Sterba <>2016-03-03 11:33:04 +0100
committerDavid Sterba <>2016-03-14 13:42:47 +0100
commit5a3cbe16db04dead49210e6170f6a2a526aa1ad7 (patch)
tree1b8feac9e7a70a2c1ff6efda75144f22deaaff78 /volumes.c
parent5851386ce25783d5138072ccd125adbcad7f930c (diff)
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 <>
Diffstat (limited to 'volumes.c')
1 files changed, 0 insertions, 2 deletions
diff --git a/volumes.c b/volumes.c
index cc3e6b7f..4d22db25 100644
--- 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;