diff options
author | Chris Mason <chris.mason@oracle.com> | 2010-05-26 11:31:00 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2010-05-26 21:35:34 -0400 |
commit | 933b585f70d524f1b6f0f6867bedb11d3dd82d3b (patch) | |
tree | f871988129967de5dabb20ae612ea7c22cc4c770 /fs/btrfs/extent-tree.c | |
parent | 5bdd3536cbbe2ecd94ecc14410c6b1b31da16381 (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.c | 2 |
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: | |||
2944 | goto again; | 2944 | goto again; |
2945 | } | 2945 | } |
2946 | 2946 | ||
2947 | #if 0 /* I hope we never need this code again, just in case */ | ||
2947 | printk(KERN_ERR "no space left, need %llu, %llu bytes_used, " | 2948 | printk(KERN_ERR "no space left, need %llu, %llu bytes_used, " |
2948 | "%llu bytes_reserved, " "%llu bytes_pinned, " | 2949 | "%llu bytes_reserved, " "%llu bytes_pinned, " |
2949 | "%llu bytes_readonly, %llu may use %llu total\n", | 2950 | "%llu bytes_readonly, %llu may use %llu total\n", |
@@ -2954,6 +2955,7 @@ alloc: | |||
2954 | (unsigned long long)data_sinfo->bytes_readonly, | 2955 | (unsigned long long)data_sinfo->bytes_readonly, |
2955 | (unsigned long long)data_sinfo->bytes_may_use, | 2956 | (unsigned long long)data_sinfo->bytes_may_use, |
2956 | (unsigned long long)data_sinfo->total_bytes); | 2957 | (unsigned long long)data_sinfo->total_bytes); |
2958 | #endif | ||
2957 | return -ENOSPC; | 2959 | return -ENOSPC; |
2958 | } | 2960 | } |
2959 | data_sinfo->bytes_may_use += bytes; | 2961 | data_sinfo->bytes_may_use += bytes; |