Re: BUG in fat / msdos / vfat filesystem

Gordon Chaffee (chaffee@CS.Berkeley.EDU)
Mon, 16 Feb 1998 02:12:05 -0800 (PST)


Richard Guenther writes:
> In Kernels 2.1.8x there are problems with the fat filesystem when
> using 2048 bytes hardblocksize (MO-Drive). It seems that
> fat uses generic_file_read, but does not implement readpage -
> whoops! Testing for i_ops->readpage in generic_file_read (which
> is not done currently) catches the oops, but I rather want
> fat to work on my MO drive.

Let me know if this patch helps things any.

- Gordon

--- linux/fs/fat/file.c.orig Mon Jan 19 01:37:32 1998
+++ linux/fs/fat/file.c Mon Feb 16 02:03:17 1998
@@ -105,7 +105,7 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- NULL, /* readpage */
+ generic_readpage, /* readpage */
NULL, /* writepage */
NULL, /* bmap */
fat_truncate, /* truncate */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu