[patch] Oops in 2.2.0pre1 mounting bad FAT32 fs

christophe leroy (christophe.leroy5@capway.com)
Tue, 29 Dec 1998 21:46:44 MET


--Message-Boundary-12688
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body

In case you arrive there with a bad FAT32 fs,
MSDOS_SB(sb)->fsinfo_offset might be greater than
block size, so you might get an oops

patch attached

christophe

--Message-Boundary-12688
Content-type: text/plain; charset=US-ASCII
Content-description: Information about this message.

This message contains a file prepared for transmission using the
MIME BASE64 transfer encoding scheme. If you are using Pegasus
Mail or another MIME-compliant system, you should be able to extract
it from within your mailer. If you cannot, please ask your system
administrator for help.

---- File information -----------
File: fat.pb
Date: 29 Dec 1998, 22:39
Size: 633 bytes.
Type: Text

--Message-Boundary-12688
Content-type: Application/Octet-stream; name=fat.pb; type=Text
Content-disposition: attachment; filename="fat.pb"
Content-transfer-encoding: BASE64

LS0tIGZzL2ZhdC9pbm9kZS5jLm9yZwlUdWUgRGVjIDI5IDE5OjM3OjAyIDE5OTgKKysrIGZz
L2ZhdC9pbm9kZS5jCVR1ZSBEZWMgMjkgMjE6MzU6MTMgMTk5OApAQCAtMzY2LDcgKzM2Niw5
IEBACiAJCQlDRl9MRV9XKGItPmluZm9fc2VjdG9yKSAqIGxvZ2ljYWxfc2VjdG9yX3NpemUg
KyAweDFlMDsKIAkJZnNpbmZvID0gKHN0cnVjdCBmYXRfYm9vdF9mc2luZm8gKikKIAkJCSZi
aC0+Yl9kYXRhW01TRE9TX1NCKHNiKS0+ZnNpbmZvX29mZnNldF07Ci0JCWlmIChDRl9MRV9M
KGZzaW5mby0+c2lnbmF0dXJlKSAhPSAweDYxNDE3MjcyKSB7CisJCWlmICgoTVNET1NfU0Io
c2IpLT5mc2luZm9fb2Zmc2V0IC0gc2l6ZW9mKE1TRE9TX1NCKHNiKS0+ZnNpbmZvX29mZnNl
dCkgKyAxKT4gYmgtPmJfc2l6ZSkgCisJCSAgICAJcHJpbnRrKCJmYXRfcmVhZF9zdXBlcjog
QmFkIGZzaW5mb19vZmZzZXRcbiIpOworCQllbHNlIGlmIChDRl9MRV9MKGZzaW5mby0+c2ln
bmF0dXJlKSAhPSAweDYxNDE3MjcyKSB7CiAJCQlwcmludGsoImZhdF9yZWFkX3N1cGVyOiBE
aWQgbm90IGZpbmQgdmFsaWQgRlNJTkZPICIKIAkJCQkic2lnbmF0dXJlLiBGb3VuZCAweCV4
XG4iLAogCQkJCUNGX0xFX0woZnNpbmZvLT5zaWduYXR1cmUpKTsK

--Message-Boundary-12688--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/