diff options
author | Valentina Giusti <valentina.giusti@microon.de> | 2013-11-04 16:34:24 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-28 16:19:32 -0500 |
commit | 4b447bfac6c6b367a594a22cb220152f835fc0ed (patch) | |
tree | e4db7c31381f3ae6c5ad9769e04516712c6a1a67 /fs/btrfs/extent-tree.c | |
parent | 71db2a7751b6c4befad06e66a26d7f2b8dd3c1b9 (diff) |
btrfs: remove unused variable from find_free_extent
The variable found_uncached_bg in find_free_extent is not used since commit
285ff5af6ce358e73f53b55c9efadd4335f4c2ff
(Btrfs: remove the ideal caching code)
Signed-off-by: Valentina Giusti <valentina.giusti@microon.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index e094d02ea76a..fe651f4d1b93 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -6239,7 +6239,6 @@ static noinline int find_free_extent(struct btrfs_root *orig_root, | |||
6239 | int index = __get_raid_index(flags); | 6239 | int index = __get_raid_index(flags); |
6240 | int alloc_type = (flags & BTRFS_BLOCK_GROUP_DATA) ? | 6240 | int alloc_type = (flags & BTRFS_BLOCK_GROUP_DATA) ? |
6241 | RESERVE_ALLOC_NO_ACCOUNT : RESERVE_ALLOC; | 6241 | RESERVE_ALLOC_NO_ACCOUNT : RESERVE_ALLOC; |
6242 | bool found_uncached_bg = false; | ||
6243 | bool failed_cluster_refill = false; | 6242 | bool failed_cluster_refill = false; |
6244 | bool failed_alloc = false; | 6243 | bool failed_alloc = false; |
6245 | bool use_cluster = true; | 6244 | bool use_cluster = true; |
@@ -6357,7 +6356,6 @@ search: | |||
6357 | have_block_group: | 6356 | have_block_group: |
6358 | cached = block_group_cache_done(block_group); | 6357 | cached = block_group_cache_done(block_group); |
6359 | if (unlikely(!cached)) { | 6358 | if (unlikely(!cached)) { |
6360 | found_uncached_bg = true; | ||
6361 | ret = cache_block_group(block_group, 0); | 6359 | ret = cache_block_group(block_group, 0); |
6362 | BUG_ON(ret < 0); | 6360 | BUG_ON(ret < 0); |
6363 | ret = 0; | 6361 | ret = 0; |