aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ialloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/ialloc.c')
-rw-r--r--fs/ext4/ialloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c
index 4794d2ce613..cac3617ec78 100644
--- a/fs/ext4/ialloc.c
+++ b/fs/ext4/ialloc.c
@@ -74,7 +74,7 @@ unsigned ext4_init_inode_bitmap(struct super_block *sb, struct buffer_head *bh,
74 /* If checksum is bad mark all blocks and inodes use to prevent 74 /* If checksum is bad mark all blocks and inodes use to prevent
75 * allocation, essentially implementing a per-group read-only flag. */ 75 * allocation, essentially implementing a per-group read-only flag. */
76 if (!ext4_group_desc_csum_verify(sbi, block_group, gdp)) { 76 if (!ext4_group_desc_csum_verify(sbi, block_group, gdp)) {
77 ext4_error(sb, __func__, "Checksum bad for group %lu", 77 ext4_error(sb, __func__, "Checksum bad for group %u",
78 block_group); 78 block_group);
79 gdp->bg_free_blocks_count = 0; 79 gdp->bg_free_blocks_count = 0;
80 gdp->bg_free_inodes_count = 0; 80 gdp->bg_free_inodes_count = 0;
@@ -111,7 +111,7 @@ ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group)
111 if (unlikely(!bh)) { 111 if (unlikely(!bh)) {
112 ext4_error(sb, __func__, 112 ext4_error(sb, __func__,
113 "Cannot read inode bitmap - " 113 "Cannot read inode bitmap - "
114 "block_group = %lu, inode_bitmap = %llu", 114 "block_group = %u, inode_bitmap = %llu",
115 block_group, bitmap_blk); 115 block_group, bitmap_blk);
116 return NULL; 116 return NULL;
117 } 117 }
@@ -133,7 +133,7 @@ ext4_read_inode_bitmap(struct super_block *sb, ext4_group_t block_group)
133 put_bh(bh); 133 put_bh(bh);
134 ext4_error(sb, __func__, 134 ext4_error(sb, __func__,
135 "Cannot read inode bitmap - " 135 "Cannot read inode bitmap - "
136 "block_group = %lu, inode_bitmap = %llu", 136 "block_group = %u, inode_bitmap = %llu",
137 block_group, bitmap_blk); 137 block_group, bitmap_blk);
138 return NULL; 138 return NULL;
139 } 139 }
@@ -690,7 +690,7 @@ got:
690 ino > EXT4_INODES_PER_GROUP(sb)) { 690 ino > EXT4_INODES_PER_GROUP(sb)) {
691 ext4_error(sb, __func__, 691 ext4_error(sb, __func__,
692 "reserved inode or inode > inodes count - " 692 "reserved inode or inode > inodes count - "
693 "block_group = %lu, inode=%lu", group, 693 "block_group = %u, inode=%lu", group,
694 ino + group * EXT4_INODES_PER_GROUP(sb)); 694 ino + group * EXT4_INODES_PER_GROUP(sb));
695 err = -EIO; 695 err = -EIO;
696 goto fail; 696 goto fail;