summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorJosef Bacik2011-08-08 18:50:18 +0200
committerJosef Bacik2011-10-19 21:12:34 +0200
commitdabdb6408cb801644fa613c7432da012640b348c (patch)
tree846978b48af90315b14bf984d0b0a55a962eff6b /fs/btrfs/relocation.c
parentBtrfs: ratelimit the generation printk for the free space cache (diff)
downloadkernel-qcow2-linux-dabdb6408cb801644fa613c7432da012640b348c.tar.gz
kernel-qcow2-linux-dabdb6408cb801644fa613c7432da012640b348c.tar.xz
kernel-qcow2-linux-dabdb6408cb801644fa613c7432da012640b348c.zip
Btrfs: kill unused parts of block_rsv
The priority and refill_used flags are not used anymore, and neither is the usage counter, so just remove them from btrfs_block_rsv. Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r--fs/btrfs/relocation.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c
index 545b04358249..aeaed99e9cfe 100644
--- a/fs/btrfs/relocation.c
+++ b/fs/btrfs/relocation.c
@@ -3650,8 +3650,6 @@ int prepare_to_relocate(struct reloc_control *rc)
if (ret)
return ret;
- rc->block_rsv->refill_used = 1;
-
memset(&rc->cluster, 0, sizeof(rc->cluster));
rc->search_start = rc->block_group->key.objectid;
rc->extents_found = 0;