Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On minix2 and minix3 usually max_size is 7fffffff and the check in question prohibits creation of last block spanning right before 7fffffff, due to downward rounding during the division. Fix it by using multiplication instead. [[email protected]: fix up code layout, use local `sb'] Signed-off-by: Vladimir Serbinenko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information