|
@@ -454,8 +454,7 @@ static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info)
|
|
|
static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info)
|
|
|
{
|
|
|
clear_bit(BTRFS_FS_STATE_DEV_REPLACING, &fs_info->fs_state);
|
|
|
- if (waitqueue_active(&fs_info->replace_wait))
|
|
|
- wake_up(&fs_info->replace_wait);
|
|
|
+ wake_up(&fs_info->replace_wait);
|
|
|
}
|
|
|
|
|
|
static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info,
|