diff options
Diffstat (limited to 'fs/btrfs/dev-replace.c')
-rw-r--r-- | fs/btrfs/dev-replace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/dev-replace.c b/fs/btrfs/dev-replace.c index d097701d494d..12f703e127dd 100644 --- a/fs/btrfs/dev-replace.c +++ b/fs/btrfs/dev-replace.c | |||
@@ -594,7 +594,7 @@ static int btrfs_dev_replace_finishing(struct btrfs_fs_info *fs_info, | |||
594 | * flush all outstanding I/O and inode extent mappings before the | 594 | * flush all outstanding I/O and inode extent mappings before the |
595 | * copy operation is declared as being finished | 595 | * copy operation is declared as being finished |
596 | */ | 596 | */ |
597 | ret = btrfs_start_delalloc_roots(fs_info, 0, -1); | 597 | ret = btrfs_start_delalloc_roots(fs_info, -1); |
598 | if (ret) { | 598 | if (ret) { |
599 | mutex_unlock(&dev_replace->lock_finishing_cancel_unmount); | 599 | mutex_unlock(&dev_replace->lock_finishing_cancel_unmount); |
600 | return ret; | 600 | return ret; |