|
@@ -3305,8 +3305,7 @@ again:
|
|
|
|
|
|
spin_lock(&block_group->lock);
|
|
spin_lock(&block_group->lock);
|
|
if (block_group->cached != BTRFS_CACHE_FINISHED ||
|
|
if (block_group->cached != BTRFS_CACHE_FINISHED ||
|
|
- !btrfs_test_opt(root, SPACE_CACHE) ||
|
|
|
|
- block_group->delalloc_bytes) {
|
|
|
|
|
|
+ !btrfs_test_opt(root, SPACE_CACHE)) {
|
|
/*
|
|
/*
|
|
* don't bother trying to write stuff out _if_
|
|
* don't bother trying to write stuff out _if_
|
|
* a) we're not cached,
|
|
* a) we're not cached,
|