Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331575
b: refs/heads/master
c: 6df935a
h: refs/heads/master
i:
  331573: 9308685
  331571: e063a8e
  331567: 18441f9
v: v3
  • Loading branch information
Yongqiang Yang authored and Theodore Ts'o committed Sep 5, 2012
1 parent 59468c2 commit 95fee91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d7574ad08bac1ef89cb679d2c76c91ff9281c2e2
refs/heads/master: 6df935ad2fced9033ab52078825fcaf6365f34b7
4 changes: 4 additions & 0 deletions trunk/fs/ext4/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,9 @@ static int setup_new_flex_group_blocks(struct super_block *sb,
gdblocks = ext4_bg_num_gdb(sb, group);
start = ext4_group_first_block_no(sb, group);

if (!ext4_bg_has_super(sb, group))
goto handle_itb;

/* Copy all of the GDT blocks into the backup in this group */
for (j = 0, block = start + 1; j < gdblocks; j++, block++) {
struct buffer_head *gdb;
Expand Down Expand Up @@ -498,6 +501,7 @@ static int setup_new_flex_group_blocks(struct super_block *sb,
goto out;
}

handle_itb:
/* Initialize group tables of the grop @group */
if (!(bg_flags[i] & EXT4_BG_INODE_ZEROED))
goto handle_bb;
Expand Down

0 comments on commit 95fee91

Please sign in to comment.