aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index ba49e0c596f2..68cde598b3bf 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -1851,7 +1851,7 @@ int ext4_mb_init_group(struct super_block *sb, ext4_group_t group)
1851 struct inode *inode = sbi->s_buddy_cache; 1851 struct inode *inode = sbi->s_buddy_cache;
1852 struct page *page = NULL, *bitmap_page = NULL; 1852 struct page *page = NULL, *bitmap_page = NULL;
1853 1853
1854 mb_debug("init group %lu\n", group); 1854 mb_debug("init group %u\n", group);
1855 blocks_per_page = PAGE_CACHE_SIZE / sb->s_blocksize; 1855 blocks_per_page = PAGE_CACHE_SIZE / sb->s_blocksize;
1856 this_grp = ext4_get_group_info(sb, group); 1856 this_grp = ext4_get_group_info(sb, group);
1857 /* 1857 /*
@@ -4120,14 +4120,14 @@ static void ext4_mb_show_ac(struct ext4_allocation_context *ac)
4120 ext4_get_group_no_and_offset(sb, pa->pa_pstart, 4120 ext4_get_group_no_and_offset(sb, pa->pa_pstart,
4121 NULL, &start); 4121 NULL, &start);
4122 spin_unlock(&pa->pa_lock); 4122 spin_unlock(&pa->pa_lock);
4123 printk(KERN_ERR "PA:%lu:%d:%u \n", i, 4123 printk(KERN_ERR "PA:%u:%d:%u \n", i,
4124 start, pa->pa_len); 4124 start, pa->pa_len);
4125 } 4125 }
4126 ext4_unlock_group(sb, i); 4126 ext4_unlock_group(sb, i);
4127 4127
4128 if (grp->bb_free == 0) 4128 if (grp->bb_free == 0)
4129 continue; 4129 continue;
4130 printk(KERN_ERR "%lu: %d/%d \n", 4130 printk(KERN_ERR "%u: %d/%d \n",
4131 i, grp->bb_free, grp->bb_fragments); 4131 i, grp->bb_free, grp->bb_fragments);
4132 } 4132 }
4133 printk(KERN_ERR "\n"); 4133 printk(KERN_ERR "\n");