aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index d61a799fe323..6c14101506e1 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -2944,6 +2944,7 @@ alloc:
2944 goto again; 2944 goto again;
2945 } 2945 }
2946 2946
2947#if 0 /* I hope we never need this code again, just in case */
2947 printk(KERN_ERR "no space left, need %llu, %llu bytes_used, " 2948 printk(KERN_ERR "no space left, need %llu, %llu bytes_used, "
2948 "%llu bytes_reserved, " "%llu bytes_pinned, " 2949 "%llu bytes_reserved, " "%llu bytes_pinned, "
2949 "%llu bytes_readonly, %llu may use %llu total\n", 2950 "%llu bytes_readonly, %llu may use %llu total\n",
@@ -2954,6 +2955,7 @@ alloc:
2954 (unsigned long long)data_sinfo->bytes_readonly, 2955 (unsigned long long)data_sinfo->bytes_readonly,
2955 (unsigned long long)data_sinfo->bytes_may_use, 2956 (unsigned long long)data_sinfo->bytes_may_use,
2956 (unsigned long long)data_sinfo->total_bytes); 2957 (unsigned long long)data_sinfo->total_bytes);
2958#endif
2957 return -ENOSPC; 2959 return -ENOSPC;
2958 } 2960 }
2959 data_sinfo->bytes_may_use += bytes; 2961 data_sinfo->bytes_may_use += bytes;