Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97852
b: refs/heads/master
c: 9446009
h: refs/heads/master
v: v3
  • Loading branch information
Josef Bacik authored and Theodore Ts'o committed Jun 6, 2008
1 parent ec0e187 commit 75b4737
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: 0bf7e8379ce7e0159a2a6bd3d937f2f6ada79799
refs/heads/master: 944600930a37aa725ba6f93c3244e2d77a1e3581
3 changes: 2 additions & 1 deletion trunk/fs/ext4/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,8 @@ static int reserve_backup_gdb(handle_t *handle, struct inode *inode,
}

blk = EXT4_SB(sb)->s_sbh->b_blocknr + 1 + EXT4_SB(sb)->s_gdb_count;
data = (__le32 *)dind->b_data + EXT4_SB(sb)->s_gdb_count;
data = (__le32 *)dind->b_data + (EXT4_SB(sb)->s_gdb_count %
EXT4_ADDR_PER_BLOCK(sb));
end = (__le32 *)dind->b_data + EXT4_ADDR_PER_BLOCK(sb);

/* Get each reserved primary GDT block and verify it holds backups */
Expand Down

0 comments on commit 75b4737

Please sign in to comment.