summaryrefslogtreecommitdiffstats
path: root/fs/jffs/inode-v23.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-07-08 02:59:00 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-07-08 02:59:00 +0000
commit1fcb7623bc138d780101d7a70cfe29b11f7c67ef (patch)
treee1ec9bb6aa19db16a405fb4393e2a90c38b4c75d /fs/jffs/inode-v23.c
parent458fe58677afb17219d864e100131728038b4f1b (diff)
Merge with Linux 2.4.0-test3-pre5. 64-bit kernel are still not
-Werror clean.
Diffstat (limited to 'fs/jffs/inode-v23.c')
-rw-r--r--fs/jffs/inode-v23.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/jffs/inode-v23.c b/fs/jffs/inode-v23.c
index 704c1fde5..fc9c7d0d2 100644
--- a/fs/jffs/inode-v23.c
+++ b/fs/jffs/inode-v23.c
@@ -8,7 +8,7 @@
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * $Id: inode-v23.c,v 1.15 2000/06/16 16:23:02 dwmw2 Exp $
+ * $Id: inode-v23.c,v 1.16 2000/07/06 14:38:10 dwmw2 Exp $
*
*
* Ported to Linux 2.3.x and MTD:
@@ -24,6 +24,7 @@
* maybe other stuff do to.
*/
+#include <linux/config.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/types.h>
@@ -1364,6 +1365,7 @@ jffs_file_write(struct file *filp, const char *buf, size_t count, loff_t *ppos)
}
inode->i_ctime = inode->i_mtime = CURRENT_TIME;
mark_inode_dirty(inode);
+ invalidate_inode_pages(inode);
err = written;
out: