Revision 016e8d44bc06dd3322f26712bdd3f3a6973592d0 authored by Josh Boyer on 19 August 2011, 18:50:26 UTC, committed by Al Viro on 19 November 2011, 16:13:26 UTC
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>
1 parent d633180
File | Mode | Size |
---|---|---|
appletalk | ||
arcnet | ||
bonding | ||
caif | ||
can | ||
cris | ||
ethernet | ||
fddi | ||
hamradio | ||
hippi | ||
irda | ||
phy | ||
plip | ||
ppp | ||
slip | ||
tokenring | ||
usb | ||
vmxnet3 | ||
wan | ||
wimax | ||
wireless | ||
xen-netback | ||
Kconfig | -rw-r--r-- | 11.2 KB |
LICENSE.SRC | -rw-r--r-- | 891 bytes |
Makefile | -rw-r--r-- | 1.9 KB |
Space.c | -rw-r--r-- | 9.2 KB |
dummy.c | -rw-r--r-- | 4.9 KB |
eql.c | -rw-r--r-- | 14.8 KB |
ifb.c | -rw-r--r-- | 7.1 KB |
loopback.c | -rw-r--r-- | 5.4 KB |
macvlan.c | -rw-r--r-- | 22.3 KB |
macvtap.c | -rw-r--r-- | 26.2 KB |
mdio.c | -rw-r--r-- | 12.7 KB |
mii.c | -rw-r--r-- | 13.3 KB |
netconsole.c | -rw-r--r-- | 20.3 KB |
rionet.c | -rw-r--r-- | 13.7 KB |
sb1000.c | -rw-r--r-- | 31.5 KB |
sungem_phy.c | -rw-r--r-- | 28.6 KB |
tun.c | -rw-r--r-- | 38.1 KB |
veth.c | -rw-r--r-- | 9.5 KB |
virtio_net.c | -rw-r--r-- | 29.6 KB |
xen-netfront.c | -rw-r--r-- | 48.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...