From: Anand Jain Date: Mon, 27 Apr 2015 04:46:18 +0000 (+0800) Subject: Btrfs: log when missing device is created X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=816fcebe8f41051b29970e5baed4d4afe462d8a8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Btrfs: log when missing device is created Signed-off-by: Anand Jain Reviewed-by: David Sterba Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 1fcbd93ca0ec..38d3a0f3bcdd 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -6109,6 +6109,8 @@ static int read_one_chunk(struct btrfs_root *root, struct btrfs_key *key, free_extent_map(em); return -EIO; } + btrfs_warn(root->fs_info, "devid %llu uuid %pU is missing", + devid, uuid); } map->stripes[i].dev->in_fs_metadata = 1; }