remarkable-linux/fs/minix
Josh Boyer 016e8d44bc fs/minix: Verify bitmap block counts before mounting
Newer versions of MINIX can create filesystems that allocate an extra
bitmap block.  Mounting of this succeeds, but doing a statfs call will
result in an oops in count_free because of a negative number being used
for the bh index.

Avoid this by verifying the number of allocated blocks at mount time,
erroring out if there are not enough and make statfs ignore the extras
if there are too many.

This fixes https://bugzilla.kernel.org/show_bug.cgi?id=18792

Signed-off-by: Josh Boyer <jwboyer@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2011-11-19 11:13:26 -05:00
..
bitmap.c fs/minix: Verify bitmap block counts before mounting 2011-11-19 11:13:26 -05:00
dir.c
file.c
inode.c fs/minix: Verify bitmap block counts before mounting 2011-11-19 11:13:26 -05:00
itree_common.c
itree_v1.c
itree_v2.c
Kconfig bitops: remove minix bitops from asm/bitops.h 2011-03-23 19:46:22 -07:00
Makefile
minix.h fs/minix: Verify bitmap block counts before mounting 2011-11-19 11:13:26 -05:00
namei.c minix: remove unnecessary dentry_unhash on rmdir, dir rename 2011-05-28 01:02:54 -04:00