Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130527
b: refs/heads/master
c: fdff73f
h: refs/heads/master
i:
  130525: 30f1c54
  130523: 32ef2c6
  130519: fbea853
  130511: 725bfab
  130495: c9f92b8
v: v3
  • Loading branch information
Theodore Ts'o committed Jan 27, 2009
1 parent 5a3aa1a commit 675d6ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7f07968c16bdd9480001c0a9de013ba56889cf9
refs/heads/master: fdff73f094e7220602cc3f8959c7230517976412
3 changes: 2 additions & 1 deletion trunk/fs/ext4/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -861,12 +861,13 @@ int ext4_group_add(struct super_block *sb, struct ext4_new_group_data *input)
gdp = (struct ext4_group_desc *)((char *)primary->b_data +
gdb_off * EXT4_DESC_SIZE(sb));

memset(gdp, 0, EXT4_DESC_SIZE(sb));
ext4_block_bitmap_set(sb, gdp, input->block_bitmap); /* LV FIXME */
ext4_inode_bitmap_set(sb, gdp, input->inode_bitmap); /* LV FIXME */
ext4_inode_table_set(sb, gdp, input->inode_table); /* LV FIXME */
ext4_free_blks_set(sb, gdp, input->free_blocks_count);
ext4_free_inodes_set(sb, gdp, EXT4_INODES_PER_GROUP(sb));
gdp->bg_flags |= cpu_to_le16(EXT4_BG_INODE_ZEROED);
gdp->bg_flags = cpu_to_le16(EXT4_BG_INODE_ZEROED);
gdp->bg_checksum = ext4_group_desc_csum(sbi, input->group, gdp);

/*
Expand Down

0 comments on commit 675d6ec

Please sign in to comment.