summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-08-05 10:25:38 -0400
committerJosef Bacik <josef@redhat.com>2011-10-19 15:12:32 -0400
commit37be25bcb6d731914e126f8de59c4367f0d66b80 (patch)
treed9e78eb4440f60a7697f8f7c56a37c163734cf66 /fs/btrfs/relocation.c
parentdba68306f3fae681b1005137f130f5bcfdfed34a (diff)
downloadop-kernel-dev-37be25bcb6d731914e126f8de59c4367f0d66b80.zip
op-kernel-dev-37be25bcb6d731914e126f8de59c4367f0d66b80.tar.gz
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 59bb176..545b043 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;
OpenPOWER on IntegriCloud