aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-09-08 23:00:52 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-09-08 23:00:52 -0400
commit4776004f54e4190e104caf620fd0fa5909412236 (patch)
treeebd37cb847d58d434ad4ea3bd98c77256f05347e /fs/ext4/extents.c
parent1f7c14c62ce63805f9574664a6c6de3633d4a354 (diff)
ext4: Add printk priority levels to clean up checkpatch warnings
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r--fs/ext4/extents.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index b24d3c53f20c..a8db7fdf9cb7 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -440,9 +440,10 @@ ext4_ext_binsearch_idx(struct inode *inode,
440 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) { 440 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) {
441 if (k != 0 && 441 if (k != 0 &&
442 le32_to_cpu(ix->ei_block) <= le32_to_cpu(ix[-1].ei_block)) { 442 le32_to_cpu(ix->ei_block) <= le32_to_cpu(ix[-1].ei_block)) {
443 printk("k=%d, ix=0x%p, first=0x%p\n", k, 443 printk(KERN_DEBUG "k=%d, ix=0x%p, "
444 ix, EXT_FIRST_INDEX(eh)); 444 "first=0x%p\n", k,
445 printk("%u <= %u\n", 445 ix, EXT_FIRST_INDEX(eh));
446 printk(KERN_DEBUG "%u <= %u\n",
446 le32_to_cpu(ix->ei_block), 447 le32_to_cpu(ix->ei_block),
447 le32_to_cpu(ix[-1].ei_block)); 448 le32_to_cpu(ix[-1].ei_block));
448 } 449 }
@@ -2142,7 +2143,7 @@ void ext4_ext_init(struct super_block *sb)
2142 */ 2143 */
2143 2144
2144 if (test_opt(sb, EXTENTS)) { 2145 if (test_opt(sb, EXTENTS)) {
2145 printk("EXT4-fs: file extents enabled"); 2146 printk(KERN_INFO "EXT4-fs: file extents enabled");
2146#ifdef AGGRESSIVE_TEST 2147#ifdef AGGRESSIVE_TEST
2147 printk(", aggressive tests"); 2148 printk(", aggressive tests");
2148#endif 2149#endif