projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bdd353
)
Btrfs: drop verbose enospc printk
author
Chris Mason
<chris.mason@oracle.com>
Wed, 26 May 2010 15:31:00 +0000
(11:31 -0400)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index
d61a799
..
6c14101
100644
(file)
--- 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;