projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a263f2
)
More recent 2.6.8 versions need this change too
author
charles
<charles>
Fri, 18 Sep 2009 00:39:21 +0000
(
00:39
+0000)
committer
charles
<charles>
Fri, 18 Sep 2009 00:39:21 +0000
(
00:39
+0000)
yaffs_fs.c
patch
|
blob
|
history
diff --git
a/yaffs_fs.c
b/yaffs_fs.c
index e4ed3bc7bf0c2ea7a7725c1f98c3fe0020bb2ed9..855a639c03e58d1c100395fdd5fe849a1cd8a737 100644
(file)
--- a/
yaffs_fs.c
+++ b/
yaffs_fs.c
@@
-32,7
+32,7
@@
*/
const char *yaffs_fs_c_version =
*/
const char *yaffs_fs_c_version =
- "$Id: yaffs_fs.c,v 1.8
1 2009-05-26 01:22:44
charles Exp $";
+ "$Id: yaffs_fs.c,v 1.8
2 2009-09-18 00:39:21
charles Exp $";
extern const char *yaffs_guts_c_version;
#include <linux/version.h>
extern const char *yaffs_guts_c_version;
#include <linux/version.h>
@@
-751,7
+751,7
@@
static int yaffs_write_begin(struct file *filp, struct address_space *mapping,
T(YAFFS_TRACE_OS, ("start yaffs_write_begin\n"));
/* Get a page */
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);
pg = grab_cache_page_write_begin(mapping, index, flags);
#else
pg = __grab_cache_page(mapping, index);