diff options
author | Josef Bacik <josef@redhat.com> | 2011-08-08 12:50:18 -0400 |
---|---|---|
committer | Josef Bacik <josef@redhat.com> | 2011-10-19 15:12:34 -0400 |
commit | dabdb6408cb801644fa613c7432da012640b348c (patch) | |
tree | 846978b48af90315b14bf984d0b0a55a962eff6b /fs/btrfs/relocation.c | |
parent | 6ab60601d518d563ca1a47eaa399096e69d3b64a (diff) |
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.c | 2 |
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) | |||
3650 | if (ret) | 3650 | if (ret) |
3651 | return ret; | 3651 | return ret; |
3652 | 3652 | ||
3653 | rc->block_rsv->refill_used = 1; | ||
3654 | |||
3655 | memset(&rc->cluster, 0, sizeof(rc->cluster)); | 3653 | memset(&rc->cluster, 0, sizeof(rc->cluster)); |
3656 | rc->search_start = rc->block_group->key.objectid; | 3654 | rc->search_start = rc->block_group->key.objectid; |
3657 | rc->extents_found = 0; | 3655 | rc->extents_found = 0; |