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 <[email protected]> --- 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 -- _______________________________________________ linux-yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/linux-yocto
