diff --git a/fs/btrfs/space-info.c b/fs/btrfs/space-info.c index 079a25ef6dbe..36b097d69cad 100644 --- a/fs/btrfs/space-info.c +++ b/fs/btrfs/space-info.c @@ -574,8 +574,7 @@ again: spin_lock(&cache->lock); avail = cache->length - cache->used - cache->pinned - - cache->reserved - cache->delalloc_bytes - - cache->bytes_super - cache->zone_unusable; + cache->reserved - cache->bytes_super - cache->zone_unusable; btrfs_info(fs_info, "block group %llu has %llu bytes, %llu used %llu pinned %llu reserved %llu delalloc %llu super %llu zone_unusable (%llu bytes available) %s", cache->start, cache->length, cache->used, cache->pinned,