Title: [5961] trunk/fs/yaffs2/yaffs_fs.c: [!no_src_qa!] Fix bug [#4782]: comment out the remove function pointers
Revision
5961
Author
cooloney
Date
2009-01-08 03:57:46 -0600 (Thu, 08 Jan 2009)

Log Message

[!no_src_qa!] Fix bug [#4782]: comment out the remove function pointers

Mainline:
Nothing uses prepare_write or commit_write. Remove them from the tree
completely.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=4e02ed4b4a2fae34aae766a5bb93ae235f60adb8

-Bryan

Modified Paths

Diff

Modified: trunk/fs/yaffs2/yaffs_fs.c (5960 => 5961)


--- trunk/fs/yaffs2/yaffs_fs.c	2009-01-08 09:31:40 UTC (rev 5960)
+++ trunk/fs/yaffs2/yaffs_fs.c	2009-01-08 09:57:46 UTC (rev 5961)
@@ -231,8 +231,10 @@
 static struct address_space_operations yaffs_file_address_operations = {
 	.readpage = yaffs_readpage,
 	.writepage = yaffs_writepage,
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,28))
 	.prepare_write = yaffs_prepare_write,
 	.commit_write = yaffs_commit_write,
+#endif
 };
 
 #if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,22))
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to