Mercurial > yaffs-ecoscentric-gpl
changeset 289:850410979014
More recent 2.6.8 versions need this change too
| author | charles <charles> |
|---|---|
| date | Fri, 18 Sep 2009 00:39:21 +0000 |
| parents | b20bce8ec7a2 |
| children | 9565e9521b15 |
| files | yaffs_fs.c |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/yaffs_fs.c +++ b/yaffs_fs.c @@ -32,7 +32,7 @@ */ const char *yaffs_fs_c_version = - "$Id: yaffs_fs.c,v 1.81 2009-05-26 01:22:44 charles Exp $"; + "$Id: yaffs_fs.c,v 1.82 2009-09-18 00:39:21 charles Exp $"; extern const char *yaffs_guts_c_version; #include <linux/version.h> @@ -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);
