summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-05-26 11:31:00 -0400
committerChris Mason <chris.mason@oracle.com>2010-05-26 21:35:34 -0400
commit933b585f70d524f1b6f0f6867bedb11d3dd82d3b (patch)
treef871988129967de5dabb20ae612ea7c22cc4c770 /fs/btrfs
parent5bdd3536cbbe2ecd94ecc14410c6b1b31da16381 (diff)
downloadop-kernel-dev-933b585f70d524f1b6f0f6867bedb11d3dd82d3b.zip
op-kernel-dev-933b585f70d524f1b6f0f6867bedb11d3dd82d3b.tar.gz
Btrfs: drop verbose enospc printk
Less printk is good printk. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs')
-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 d61a799..6c14101 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;
OpenPOWER on IntegriCloud