Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144070
b: refs/heads/master
c: b5451f7
h: refs/heads/master
v: v3
  • Loading branch information
Theodore Ts'o committed Apr 23, 2009
1 parent af94672 commit fd6e5ca
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: e84a26ce178345498a7eca0590852bcc36f1092f
refs/heads/master: b5451f7b2694b04d9f912f6cf09db1729f291996
3 changes: 2 additions & 1 deletion trunk/fs/ext4/ialloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,7 @@ static int find_group_orlov(struct super_block *sb, struct inode *parent,
fallback:
ngroups = sbi->s_groups_count;
avefreei = freei / ngroups;
fallback_retry:
parent_group = EXT4_I(parent)->i_block_group;
for (i = 0; i < ngroups; i++) {
grp = (parent_group + i) % ngroups;
Expand All @@ -602,7 +603,7 @@ static int find_group_orlov(struct super_block *sb, struct inode *parent,
* filesystems the above test can fail to find any blockgroups
*/
avefreei = 0;
goto fallback;
goto fallback_retry;
}

return -1;
Expand Down

0 comments on commit fd6e5ca

Please sign in to comment.