diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-09-08 23:00:52 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-09-08 23:00:52 -0400 |
commit | 4776004f54e4190e104caf620fd0fa5909412236 (patch) | |
tree | ebd37cb847d58d434ad4ea3bd98c77256f05347e /fs/ext4/ialloc.c | |
parent | 1f7c14c62ce63805f9574664a6c6de3633d4a354 (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/ialloc.c')
-rw-r--r-- | fs/ext4/ialloc.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index f344834bbf58..45c66a03f182 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
@@ -170,17 +170,18 @@ void ext4_free_inode (handle_t *handle, struct inode * inode) | |||
170 | ext4_group_t flex_group; | 170 | ext4_group_t flex_group; |
171 | 171 | ||
172 | if (atomic_read(&inode->i_count) > 1) { | 172 | if (atomic_read(&inode->i_count) > 1) { |
173 | printk ("ext4_free_inode: inode has count=%d\n", | 173 | printk(KERN_ERR "ext4_free_inode: inode has count=%d\n", |
174 | atomic_read(&inode->i_count)); | 174 | atomic_read(&inode->i_count)); |
175 | return; | 175 | return; |
176 | } | 176 | } |
177 | if (inode->i_nlink) { | 177 | if (inode->i_nlink) { |
178 | printk ("ext4_free_inode: inode has nlink=%d\n", | 178 | printk(KERN_ERR "ext4_free_inode: inode has nlink=%d\n", |
179 | inode->i_nlink); | 179 | inode->i_nlink); |
180 | return; | 180 | return; |
181 | } | 181 | } |
182 | if (!sb) { | 182 | if (!sb) { |
183 | printk("ext4_free_inode: inode on nonexistent device\n"); | 183 | printk(KERN_ERR "ext4_free_inode: inode on " |
184 | "nonexistent device\n"); | ||
184 | return; | 185 | return; |
185 | } | 186 | } |
186 | sbi = EXT4_SB(sb); | 187 | sbi = EXT4_SB(sb); |
@@ -989,8 +990,9 @@ unsigned long ext4_count_free_inodes (struct super_block * sb) | |||
989 | bitmap_count += x; | 990 | bitmap_count += x; |
990 | } | 991 | } |
991 | brelse(bitmap_bh); | 992 | brelse(bitmap_bh); |
992 | printk("ext4_count_free_inodes: stored = %u, computed = %lu, %lu\n", | 993 | printk(KERN_DEBUG "ext4_count_free_inodes: " |
993 | le32_to_cpu(es->s_free_inodes_count), desc_count, bitmap_count); | 994 | "stored = %u, computed = %lu, %lu\n", |
995 | le32_to_cpu(es->s_free_inodes_count), desc_count, bitmap_count); | ||
994 | return desc_count; | 996 | return desc_count; |
995 | #else | 997 | #else |
996 | desc_count = 0; | 998 | desc_count = 0; |