From 933b585f70d524f1b6f0f6867bedb11d3dd82d3b Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Wed, 26 May 2010 11:31:00 -0400 Subject: [PATCH] Btrfs: drop verbose enospc printk Less printk is good printk. Signed-off-by: Chris Mason --- fs/btrfs/extent-tree.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1