Searched refs:src_device (Results 1 – 1 of 1) sorted by relevance
596 struct btrfs_device *src_device = NULL; in btrfs_dev_replace_start() local598 src_device = btrfs_find_device_by_devspec(fs_info, srcdevid, in btrfs_dev_replace_start()600 if (IS_ERR(src_device)) in btrfs_dev_replace_start()601 return PTR_ERR(src_device); in btrfs_dev_replace_start()603 if (btrfs_pinned_by_swapfile(fs_info, src_device)) { in btrfs_dev_replace_start()606 btrfs_dev_name(src_device), src_device->devid); in btrfs_dev_replace_start()624 src_device, &tgt_device); in btrfs_dev_replace_start()629 if (src_device->bdev) { in btrfs_dev_replace_start()630 ret = bdev_deny_freeze(src_device->bdev); in btrfs_dev_replace_start()637 ret = mark_block_group_to_copy(fs_info, src_device); in btrfs_dev_replace_start()[all …]