mtd/fs/jffs2 fs.c,1.16,1.17

David Woodhouse dwmw2 at infradead.org
Wed Aug 21 06:42:15 EDT 2002


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv21114

Modified Files:
	fs.c 
Log Message:
make it actually build when swapping

Index: fs.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/fs.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- fs.c	20 Aug 2002 21:37:28 -0000	1.16
+++ fs.c	21 Aug 2002 10:42:12 -0000	1.17
@@ -241,8 +241,9 @@
 	inode->i_mode = je32_to_cpu(ri->mode);
 	inode->i_gid = je16_to_cpu(ri->gid);
 	inode->i_uid = je16_to_cpu(ri->uid);
-	inode->i_atime = inode->i_ctime = inode->i_mtime = 
-		je32_to_cpu(ri->atime = ri->mtime = ri->ctime = cpu_to_je32(CURRENT_TIME));
+	inode->i_atime = inode->i_ctime = inode->i_mtime = CURRENT_TIME;
+	ri->atime = ri->mtime = ri->ctime = cpu_to_je32(inode->i_mtime);
+
 	inode->i_blksize = PAGE_SIZE;
 	inode->i_blocks = 0;
 	inode->i_size = 0;





More information about the linux-mtd-cvs mailing list