diff options
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 70eca79bae52..e1b3c2c73c44 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c | |||
@@ -4227,7 +4227,7 @@ int btrfs_relocate_block_group(struct btrfs_root *extent_root, u64 group_start) | |||
4227 | err = ret; | 4227 | err = ret; |
4228 | goto out; | 4228 | goto out; |
4229 | } | 4229 | } |
4230 | btrfs_wait_all_ordered_extents(fs_info); | 4230 | btrfs_wait_ordered_roots(fs_info, -1); |
4231 | 4231 | ||
4232 | while (1) { | 4232 | while (1) { |
4233 | mutex_lock(&fs_info->cleaner_mutex); | 4233 | mutex_lock(&fs_info->cleaner_mutex); |