Mercurial > yaffs-ecoscentric
changeset 306:03e453bfb3f1
More recent 2.6.8 versions need this change too
| author | charles |
|---|---|
| date | Fri, 18 Sep 2009 01:39:21 +0100 |
| parents | 1e8f7df58d5e |
| children | b6d23e273df3 |
| files | yaffs_fs.c |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);
