-
由 Anand Jain 提交于
mainline inclusion from mainline-v5.1-rc7 commit 09ba3bc9 category: bugfix bugzilla: 13690 CVE: CVE-2019-18885 ------------------------------------------------- Both btrfs_find_device() and find_device() does the same thing except that the latter does not take the seed device onto account in the device scanning context. We can merge them. Signed-off-by: NAnand Jain <anand.jain@oracle.com> Reviewed-by: NDavid Sterba <dsterba@suse.com> Signed-off-by: NDavid Sterba <dsterba@suse.com> Conflicts: fs/btrfs/volumes.c [yyl adjust context] Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Reviewed-by: NYi Zhang <yi.zhang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
d23290e7