[rb532] refresh patches
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.28 / 512-yaffs-2.6.28.1-fix.patch
1 --- a/fs/yaffs2/yaffs_fs.c
2 +++ b/fs/yaffs2/yaffs_fs.c
3 @@ -746,7 +746,7 @@ static int yaffs_write_begin(struct file
4
5 T(YAFFS_TRACE_OS, ("start yaffs_write_begin\n"));
6 /* Get a page */
7 -#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 28)
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28)
9 pg = grab_cache_page_write_begin(mapping, index, flags);
10 #else
11 pg = __grab_cache_page(mapping, index);
This page took 0.051508 seconds and 5 git commands to generate.