diff options
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 4da08652004d..5a15c96a18ff 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c | |||
@@ -3674,7 +3674,8 @@ int prepare_to_relocate(struct reloc_control *rc) | |||
3674 | struct btrfs_trans_handle *trans; | 3674 | struct btrfs_trans_handle *trans; |
3675 | int ret; | 3675 | int ret; |
3676 | 3676 | ||
3677 | rc->block_rsv = btrfs_alloc_block_rsv(rc->extent_root); | 3677 | rc->block_rsv = btrfs_alloc_block_rsv(rc->extent_root, |
3678 | BTRFS_BLOCK_RSV_TEMP); | ||
3678 | if (!rc->block_rsv) | 3679 | if (!rc->block_rsv) |
3679 | return -ENOMEM; | 3680 | return -ENOMEM; |
3680 | 3681 | ||