Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfe74c5
)
libext2fs: remove debugging printf from ext2fs_group_desc_csum
author
Theodore Ts'o
<tytso@mit.edu>
Mon, 30 Jul 2012 21:39:25 +0000
(17:39 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 30 Jul 2012 21:39:25 +0000
(17:39 -0400)
This reduces the number of C library symbols needed by boot loader
systems such as yaboot.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/csum.c
patch
|
blob
|
history
diff --git
a/lib/ext2fs/csum.c
b/lib/ext2fs/csum.c
index
9fa3f24
..
aefa762
100644
(file)
--- a/
lib/ext2fs/csum.c
+++ b/
lib/ext2fs/csum.c
@@
-40,7
+40,7
@@
__u16 ext2fs_group_desc_csum(ext2_filsys fs, dgrp_t group)
if (size < EXT2_MIN_DESC_SIZE)
size = EXT2_MIN_DESC_SIZE;
if (size > sizeof(struct ext4_group_desc)) {
- printf("%s: illegal s_desc_size(%zd)\n", __func__, size);
+ /* This should never happen, but cap it for safety's sake */
size = sizeof(struct ext4_group_desc);
}