Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33637
b: refs/heads/master
c: 607eb26
h: refs/heads/master
i:
  33635: 5d2cb5b
v: v3
  • Loading branch information
Andries Brouwer authored and Linus Torvalds committed Aug 27, 2006
1 parent 9212400 commit b33814f
Show file tree
Hide file tree
Showing 2 changed files with 2 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: f5fb09fa3392ad43fbcfc2f4580752f383ab5996
refs/heads/master: 607eb266aea9dd2abe515985e12c5cd8b32546e8
2 changes: 1 addition & 1 deletion trunk/fs/ext2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ static int ext2_fill_super(struct super_block *sb, void *data, int silent)
if (EXT2_INODE_SIZE(sb) == 0)
goto cantfind_ext2;
sbi->s_inodes_per_block = sb->s_blocksize / EXT2_INODE_SIZE(sb);
if (sbi->s_inodes_per_block == 0)
if (sbi->s_inodes_per_block == 0 || sbi->s_inodes_per_group == 0)
goto cantfind_ext2;
sbi->s_itb_per_group = sbi->s_inodes_per_group /
sbi->s_inodes_per_block;
Expand Down

0 comments on commit b33814f

Please sign in to comment.