summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-05-26 17:31:00 +0200
committerChris Mason <chris.mason@oracle.com>2010-05-27 03:35:34 +0200
commit933b585f70d524f1b6f0f6867bedb11d3dd82d3b (patch)
treef871988129967de5dabb20ae612ea7c22cc4c770 /fs/btrfs
parentBtrfs: Fix block generation verification race (diff)
downloadlinux-933b585f70d524f1b6f0f6867bedb11d3dd82d3b.tar.xz
linux-933b585f70d524f1b6f0f6867bedb11d3dd82d3b.zip
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 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;