lkml.org 
[lkml]   [1998]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: BUG in fat / msdos / vfat filesystem
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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.086 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site