Mercurial > yaffs-ecoscentric
diff yaffs_fs.c @ 306:03e453bfb3f1
More recent 2.6.8 versions need this change too
| author | charles |
|---|---|
| date | Fri, 18 Sep 2009 01:39:21 +0100 |
| parents | bd8e16ecbc93 |
| children | 63d50ebbae7d |
line wrap: on
line diff
--- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -751,7 +751,7 @@ static int yaffs_write_begin(struct file T(YAFFS_TRACE_OS, ("start yaffs_write_begin\n")); /* Get a page */ -#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 28) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28) pg = grab_cache_page_write_begin(mapping, index, flags); #else pg = __grab_cache_page(mapping, index);
