patch-1.3.67 linux/fs/fat/file.c

Next file: linux/fs/fat/inode.c
Previous file: linux/fs/ext2/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.66/linux/fs/fat/file.c linux/fs/fat/file.c
@@ -33,7 +33,7 @@
 	NULL,			/* readdir - bad */
 	NULL,			/* select - default */
 	NULL,			/* ioctl - default */
-	generic_mmap,		/* mmap */
+	generic_file_mmap,	/* mmap */
 	NULL,			/* no special open is needed */
 	NULL,			/* release */
 	file_fsync		/* fsync */
@@ -61,8 +61,8 @@
 };
 /* #Specification: msdos / special devices / mmap	
 	Mmapping does work because a special mmap is provide in that case.
-	Note that it is much less efficient than the generic_mmap normally
-	used since it allocate extra buffer. generic_mmap is used for
+	Note that it is much less efficient than the generic_file_mmap normally
+	used since it allocate extra buffer. generic_file_mmap is used for
 	normal device (512 bytes hardware sectors).
 */
 static struct file_operations fat_file_operations_1024 = {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this