aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/free-space-cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
-rw-r--r--fs/btrfs/free-space-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c
index 0bc93657b460..280165581c57 100644
--- a/fs/btrfs/free-space-cache.c
+++ b/fs/btrfs/free-space-cache.c
@@ -652,7 +652,7 @@ again:
652 last = entry; 652 last = entry;
653 max_extent = 0; 653 max_extent = 0;
654 total_retries++; 654 total_retries++;
655 if (total_retries % 256 == 0) { 655 if (total_retries % 64 == 0) {
656 if (min_bytes >= (bytes + empty_size)) { 656 if (min_bytes >= (bytes + empty_size)) {
657 ret = -ENOSPC; 657 ret = -ENOSPC;
658 goto out; 658 goto out;