mtd/fs/jffs2 file.c,1.75,1.76

David Woodhouse dwmw2 at infradead.org
Mon Jul 29 04:25:37 EDT 2002


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv1902

Modified Files:
	file.c 
Log Message:
Add generic_file_sendfile to jffs2_file_operations.


Index: file.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/file.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- file.c	23 Jul 2002 17:00:45 -0000	1.75
+++ file.c	29 Jul 2002 08:25:35 -0000	1.76
@@ -58,7 +58,10 @@
 	.write =	generic_file_write,
 	.ioctl =	jffs2_ioctl,
 	.mmap =		generic_file_mmap,
-	.fsync =	jffs2_fsync
+	.fsync =	jffs2_fsync,
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,29)
+	.sendfile =	generic_file_sendfile
+#endif
 };
 
 /* jffs2_file_inode_operations */





More information about the linux-mtd-cvs mailing list