aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r--fs/btrfs/relocation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c
index aeaed99e9cfe..fd9ac66434b0 100644
--- a/fs/btrfs/relocation.c
+++ b/fs/btrfs/relocation.c
@@ -2042,7 +2042,7 @@ static noinline_for_stack int merge_reloc_root(struct reloc_control *rc,
2042 trans->block_rsv = rc->block_rsv; 2042 trans->block_rsv = rc->block_rsv;
2043 2043
2044 ret = btrfs_block_rsv_check(trans, root, rc->block_rsv, 2044 ret = btrfs_block_rsv_check(trans, root, rc->block_rsv,
2045 min_reserved, 0); 2045 min_reserved, 0, 0);
2046 if (ret) { 2046 if (ret) {
2047 BUG_ON(ret != -EAGAIN); 2047 BUG_ON(ret != -EAGAIN);
2048 ret = btrfs_commit_transaction(trans, root); 2048 ret = btrfs_commit_transaction(trans, root);
@@ -3775,7 +3775,7 @@ restart:
3775 } 3775 }
3776 3776
3777 ret = btrfs_block_rsv_check(trans, rc->extent_root, 3777 ret = btrfs_block_rsv_check(trans, rc->extent_root,
3778 rc->block_rsv, 0, 5); 3778 rc->block_rsv, 0, 5, 0);
3779 if (ret < 0) { 3779 if (ret < 0) {
3780 if (ret != -EAGAIN) { 3780 if (ret != -EAGAIN) {
3781 err = ret; 3781 err = ret;