mtd/fs/jffs2/ecos/src fs-ecos.c,1.2,1.3

David Woodhouse dwmw2 at infradead.org
Tue Sep 24 17:50:43 EDT 2002


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

Modified Files:
	fs-ecos.c 
Log Message:
node not inode. Doh.

Index: fs-ecos.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/fs-ecos.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fs-ecos.c	24 Sep 2002 07:59:33 -0000	1.2
+++ fs-ecos.c	24 Sep 2002 21:50:41 -0000	1.3
@@ -681,8 +681,8 @@
     
     if( err == ENOERR && (mode & O_TRUNC ) )
     {
-	    struct jffs2_inode_info *f = JFFS2_INODE_INFO(inode);
-	    struct jffs2_sb_info *c = JFFS2_SB_INFO(inode->i_sb);
+	    struct jffs2_inode_info *f = JFFS2_INODE_INFO(node);
+	    struct jffs2_sb_info *c = JFFS2_SB_INFO(node->i_sb);
         // If the O_TRUNC bit is set we must clean out the file data.
 
         node->i_size = 0;





More information about the linux-mtd-cvs mailing list