mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
synced 2025-01-10 13:03:43 +08:00
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>
This commit is contained in:
parent
5851386ce2
commit
5a3cbe16db
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user