summaryrefslogtreecommitdiff
path: root/fs/read_write.h
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@redhat.com>2011-08-19 18:50:26 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2011-11-19 16:13:26 (GMT)
commit016e8d44bc06dd3322f26712bdd3f3a6973592d0 (patch)
tree3e237994b81e284ad58acc75f37b4c8d4aefbdf3 /fs/read_write.h
parentd633180c20271d3b7c1fabbccbc7c5b30ad12be4 (diff)
downloadlinux-016e8d44bc06dd3322f26712bdd3f3a6973592d0.tar.xz
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>
Diffstat (limited to 'fs/read_write.h')
0 files changed, 0 insertions, 0 deletions