diff options
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 277fe812d047..32c100b8c563 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c | |||
@@ -1636,7 +1636,7 @@ static inline int btrfs_start_delalloc_flush(struct btrfs_fs_info *fs_info) | |||
1636 | static inline void btrfs_wait_delalloc_flush(struct btrfs_fs_info *fs_info) | 1636 | static inline void btrfs_wait_delalloc_flush(struct btrfs_fs_info *fs_info) |
1637 | { | 1637 | { |
1638 | if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) | 1638 | if (btrfs_test_opt(fs_info->tree_root, FLUSHONCOMMIT)) |
1639 | btrfs_wait_all_ordered_extents(fs_info); | 1639 | btrfs_wait_ordered_roots(fs_info, -1); |
1640 | } | 1640 | } |
1641 | 1641 | ||
1642 | int btrfs_commit_transaction(struct btrfs_trans_handle *trans, | 1642 | int btrfs_commit_transaction(struct btrfs_trans_handle *trans, |