mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
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]>