[PATCH] Fix handling of wrong cluster chains (1/5)
authorHirofumi Ogawa <hirofumi@mail.parknet.co.jp>
Thu, 25 Apr 2002 06:36:37 +0000 (23:36 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 25 Apr 2002 06:36:37 +0000 (23:36 -0700)
commitb2e4b218a2a714eb98521088a4814c5357d3c5bd
treea3aff94672ea5745d389ba0e1ab4d739fb7bd12d
parent13d34dcb2d8ca33b6f7844a3a333d493c20d1209
[PATCH] Fix handling of wrong cluster chains (1/5)

Currently fatfs disregards most wrong cluster chains, and only continues
processing.

This fixes it.  If a wrong cluster chain is detected, change filesystem
to the read only, and return the error code.
fs/fat/cache.c
fs/fat/fatfs_syms.c
fs/fat/file.c
fs/fat/inode.c
fs/fat/misc.c
include/linux/msdos_fs.h