1 --- a/fs/yaffs2/yaffs_fs.c
2 +++ b/fs/yaffs2/yaffs_fs.c
3 @@ -745,7 +745,7 @@ static int yaffs_write_begin(struct file
5 T(YAFFS_TRACE_OS, (KERN_DEBUG "start yaffs_write_begin\n"));
7 - pg = __grab_cache_page(mapping,index);
8 + pg = grab_cache_page_write_begin(mapping, index, flags);