summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-08-05 16:25:38 +0200
committerJosef Bacik <josef@redhat.com>2011-10-19 21:12:32 +0200
commit37be25bcb6d731914e126f8de59c4367f0d66b80 (patch)
treed9e78eb4440f60a7697f8f7c56a37c163734cf66 /fs/btrfs/relocation.c
parentBtrfs: kill the orphan space calculation for snapshots (diff)
downloadlinux-37be25bcb6d731914e126f8de59c4367f0d66b80.tar.xz
linux-37be25bcb6d731914e126f8de59c4367f0d66b80.zip
Btrfs: kill the durable block rsv stuff
This is confusing code and isn't used by anything anymore, so delete it. Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r--fs/btrfs/relocation.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c
index 59bb1764273d..545b04358249 100644
--- a/fs/btrfs/relocation.c
+++ b/fs/btrfs/relocation.c
@@ -3651,7 +3651,6 @@ int prepare_to_relocate(struct reloc_control *rc)
return ret;
rc->block_rsv->refill_used = 1;
- btrfs_add_durable_block_rsv(rc->extent_root->fs_info, rc->block_rsv);
memset(&rc->cluster, 0, sizeof(rc->cluster));
rc->search_start = rc->block_group->key.objectid;