diff options
Diffstat (limited to 'fs/btrfs/dev-replace.c')
-rw-r--r-- | fs/btrfs/dev-replace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index e54dd5905cee..733ff75b620e 100644 --- a/fs/btrfs/dev-replace.c +++ b/fs/btrfs/dev-replace.c | |||
@@ -454,8 +454,7 @@ static void btrfs_rm_dev_replace_blocked(struct btrfs_fs_info *fs_info) | |||
454 | static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) | 454 | static void btrfs_rm_dev_replace_unblocked(struct btrfs_fs_info *fs_info) |
455 | { | 455 | { |
456 | clear_bit(BTRFS_FS_STATE_DEV_REPLACING, &fs_info->fs_state); | 456 | clear_bit(BTRFS_FS_STATE_DEV_REPLACING, &fs_info->fs_state); |
457 | if (waitqueue_active(&fs_info->replace_wait)) | 457 | wake_up(&fs_info->replace_wait); |
458 | wake_up(&fs_info->replace_wait); | ||
459 | } | 458 | } |
460 | 459 | ||
461 | static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, | 460 | static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, |