patch-2.3.9 linux/fs/fat/file.c
Next file: linux/fs/fifo.c
Previous file: linux/fs/ext2/truncate.c
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
Sun Jun 27 10:10:41 1999
- Orig file:
v2.3.8/linux/fs/fat/file.c
- Orig date:
Sun Feb 28 09:47:37 1999
diff -u --recursive --new-file v2.3.8/linux/fs/fat/file.c linux/fs/fat/file.c
@@ -57,12 +57,14 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- generic_readpage, /* readpage */
+ fat_bmap, /* get_block */
+ block_read_full_page, /* readpage */
NULL, /* writepage */
- fat_bmap, /* bmap */
+ NULL, /* flushpage */
fat_truncate, /* truncate */
NULL, /* permission */
- NULL /* smap */
+ NULL, /* smap */
+ NULL /* revalidate */
};
/* #Specification: msdos / special devices / mmap
@@ -107,12 +109,14 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
- generic_readpage, /* readpage */
+ NULL, /* get_block */
+ block_read_full_page, /* readpage */
NULL, /* writepage */
- NULL, /* bmap */
+ NULL, /* flushpage */
fat_truncate, /* truncate */
NULL, /* permission */
- NULL /* smap */
+ NULL, /* smap */
+ NULL /* revalidate */
};
static struct file_operations fat_file_operations_readpage = {
@@ -142,12 +146,14 @@
NULL, /* rename */
NULL, /* readlink */
NULL, /* follow_link */
+ NULL, /* get_block */
fat_readpage, /* readpage */
NULL, /* writepage */
- NULL, /* bmap */
+ NULL, /* flushpage */
fat_truncate, /* truncate */
NULL, /* permission */
- NULL /* smap */
+ NULL, /* smap */
+ NULL /* revalidate */
};
#define MSDOS_PREFETCH 32
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)