2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-14 16:23:51 +08:00
linux-next/fs/minix
Vladimir Serbinenko 6ed6a722f9 minixfs: fix block limit check
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>
2012-07-30 17:25:19 -07:00
..
bitmap.c minix: propagate umode_t 2012-01-03 22:54:59 -05:00
dir.c minix: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:24 +08:00
file.c remove inode_setattr 2010-08-09 16:47:37 -04:00
inode.c vfs: Rename end_writeback() to clear_inode() 2012-05-06 13:43:41 +08:00
itree_common.c [PATCH] Minix V3 support 2007-02-12 09:48:31 -08:00
itree_v1.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
itree_v2.c minixfs: fix block limit check 2012-07-30 17:25:19 -07:00
Kconfig bitops: remove minix bitops from asm/bitops.h 2011-03-23 19:46:22 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
minix.h vfs: check i_nlink limits in vfs_{mkdir,rename_dir,link} 2012-03-20 21:29:32 -04:00
namei.c don't pass nameidata to ->create() 2012-07-14 16:34:47 +04:00