http://bbs.archlinux.org/viewtopic.php?pid=484856

Signed-off-by: Alexandros C. Couloumbis <alex at ozo.com>

--- linux-2.6.28.1/fs/yaffs2/yaffs_fs.c.orig    2009-01-22 23:47:36.000000000 
+0200
+++ linux-2.6.28.1/fs/yaffs2/yaffs_fs.c 2009-01-22 23:48:20.000000000 +0200
@@ -711,7 +711,7 @@
        pgoff_t index = pos >> PAGE_CACHE_SHIFT;
        int ret = 0;

-       pg = __grab_cache_page(mapping, index);
+       pg = grab_cache_page_write_begin(mapping, index, flags);
        if (!pg)
                return -ENOMEM;



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to