[Yaffs] yaffs on Linux 2.6.9 - patch 8 of 7

Top Page
Attachments:
Message as email
+ (text/plain)
+ yaffs_kernel_08_loop_mount.patch (text/plain)
Delete this message
Reply to this message
Author: Frank Rowand
Date:  
To: yaffs
CC: frowand
New-Topics: [Yaffs] Frank's mega-patchset
Subject: [Yaffs] yaffs on Linux 2.6.9 - patch 8 of 7
Yep, it really is number 8 of 7. (The need for the eighth patch
was found after sending the first seven...)

-Frank
--
Frank Rowand <>
MontaVista Software, Inc
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
 };