aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorChris Mason2010-05-26 11:31:00 -0400
committerChris Mason2010-05-26 21:35:34 -0400
commit933b585f70d524f1b6f0f6867bedb11d3dd82d3b (patch)
treef871988129967de5dabb20ae612ea7c22cc4c770 /fs/btrfs/extent-tree.c
parent5bdd3536cbbe2ecd94ecc14410c6b1b31da16381 (diff)
Btrfs: drop verbose enospc printk
Less printk is good printk. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-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:
goto again;
}
+#if 0 /* I hope we never need this code again, just in case */
printk(KERN_ERR "no space left, need %llu, %llu bytes_used, "
"%llu bytes_reserved, " "%llu bytes_pinned, "
"%llu bytes_readonly, %llu may use %llu total\n",
@@ -2954,6 +2955,7 @@ alloc:
(unsigned long long)data_sinfo->bytes_readonly,
(unsigned long long)data_sinfo->bytes_may_use,
(unsigned long long)data_sinfo->total_bytes);
+#endif
return -ENOSPC;
}
data_sinfo->bytes_may_use += bytes;