mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
6ed6a722f9
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. [akpm@linux-foundation.org: fix up code layout, use local `sb'] Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
bitmap.c | ||
dir.c | ||
file.c | ||
inode.c | ||
itree_common.c | ||
itree_v1.c | ||
itree_v2.c | ||
Kconfig | ||
Makefile | ||
minix.h | ||
namei.c |