Commit cd6bb35
committed
ext4: use more strict checks for inodes_per_block on mount
Centralize the checks for inodes_per_block and be more strict to make
sure the inodes_per_block_group can't end up being zero.
Signed-off-by: Theodore Ts'o <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Cc: [email protected]1 parent 5aee0f8 commit cd6bb35
1 file changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3668 | 3668 | | |
3669 | 3669 | | |
3670 | 3670 | | |
3671 | | - | |
3672 | | - | |
3673 | 3671 | | |
3674 | 3672 | | |
3675 | 3673 | | |
3676 | 3674 | | |
| 3675 | + | |
| 3676 | + | |
| 3677 | + | |
| 3678 | + | |
| 3679 | + | |
| 3680 | + | |
3677 | 3681 | | |
3678 | 3682 | | |
3679 | 3683 | | |
| |||
3756 | 3760 | | |
3757 | 3761 | | |
3758 | 3762 | | |
3759 | | - | |
3760 | | - | |
3761 | | - | |
3762 | | - | |
3763 | | - | |
3764 | | - | |
3765 | | - | |
3766 | 3763 | | |
3767 | 3764 | | |
3768 | 3765 | | |
| |||
0 commit comments