[Yaffs] yaffs on Linux 2.6.9 - patch 8 of 7
Frank Rowand
frowand@mvista.com
Wed, 22 Dec 2004 13:31:53 -0800
This is a multi-part message in MIME format.
--------------000805090202090604060103
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Yep, it really is number 8 of 7. (The need for the eighth patch
was found after sending the first seven...)
-Frank
--
Frank Rowand <frank_rowand@mvista.com>
MontaVista Software, Inc
--------------000805090202090604060103
Content-Type: text/plain;
name="yaffs_kernel_08_loop_mount.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="yaffs_kernel_08_loop_mount.patch"
Index: linux-2.6.9/fs/yaffs/yaffs_fs.c
===================================================================
--- linux-2.6.9.orig/fs/yaffs/yaffs_fs.c
+++ linux-2.6.9/fs/yaffs/yaffs_fs.c
@@ -214,6 +214,9 @@
mmap: generic_file_mmap,
flush: yaffs_file_flush,
fsync: yaffs_sync_object,
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,5,0))
+ sendfile: generic_file_sendfile,
+#endif
};
--------------000805090202090604060103--