[linux-yocto] [PATCH 2/3] yaffs2: remove read and write methods
Yang Shi
yang.shi at windriver.com
Wed Sep 9 12:45:24 PDT 2015
Upstream commit 5d5d568975307877e9195f5305f4240e506a2807
("make new_sync_{read,write}() static") removed read and write methods from
drivers and filesystems, remove them from yaffs2 to avoid build failure.
Signed-off-by: Yang Shi <yang.shi at windriver.com>
---
fs/yaffs2/yaffs_vfs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/yaffs2/yaffs_vfs.c b/fs/yaffs2/yaffs_vfs.c
index b82b7fc..a7a7d06 100644
--- a/fs/yaffs2/yaffs_vfs.c
+++ b/fs/yaffs2/yaffs_vfs.c
@@ -794,8 +794,6 @@ static int yaffs_sync_object(struct file *file, struct dentry *dentry,
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 22))
static const struct file_operations yaffs_file_operations = {
- .read = new_sync_read,
- .write = new_sync_write,
.read_iter = generic_file_read_iter,
.write_iter = generic_file_write_iter,
.mmap = generic_file_mmap,
--
2.0.2
More information about the linux-yocto
mailing list