aboutsummaryrefslogtreecommitdiffstats
path: root/volumes.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-03-03 11:33:04 +0100
committerDavid Sterba <dsterba@suse.com>2016-03-14 13:42:47 +0100
commit5a3cbe16db04dead49210e6170f6a2a526aa1ad7 (patch)
tree1b8feac9e7a70a2c1ff6efda75144f22deaaff78 /volumes.c
parent5851386ce25783d5138072ccd125adbcad7f930c (diff)
downloadbtrfs-progs-5a3cbe16db04dead49210e6170f6a2a526aa1ad7.tar.gz
btrfs-progs-5a3cbe16db04dead49210e6170f6a2a526aa1ad7.tar.xz
btrfs-progs-5a3cbe16db04dead49210e6170f6a2a526aa1ad7.zip
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>
Diffstat (limited to 'volumes.c')
-rw-r--r--volumes.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/volumes.c b/volumes.c
index cc3e6b7..4d22db2 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;