Btrfs: drop verbose enospc printk
authorChris Mason <chris.mason@oracle.com>
Wed, 26 May 2010 15:31:00 +0000 (11:31 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 27 May 2010 01:35:34 +0000 (21:35 -0400)
Less printk is good printk.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c

index d61a799fe32329ac58acb3a27b99643d193a7b3b..6c14101506e10d59a0bfbe9b19673ca1b5777f1c 100644 (file)
@@ -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;