mtd/fs/jffs2/ecos/src fs-ecos.c,1.18,1.19
David Woodhouse
dwmw2 at infradead.org
Tue Nov 25 12:10:09 EST 2003
Update of /home/cvs/mtd/fs/jffs2/ecos/src
In directory phoenix.infradead.org:/tmp/cvs-serv22752
Modified Files:
fs-ecos.c
Log Message:
final cleanup
Index: fs-ecos.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/ecos/src/fs-ecos.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- fs-ecos.c 25 Nov 2003 11:35:08 -0000 1.18
+++ fs-ecos.c 25 Nov 2003 17:10:06 -0000 1.19
@@ -573,6 +573,8 @@
return ENOERR;
}
+extern cyg_dir cyg_cdir_dir;
+
// -------------------------------------------------------------------------
// jffs2_umount()
// Unmount the filesystem.
@@ -609,7 +611,7 @@
we should allow chdir(NULL) to unset
cyg_cdir_dir? */
cyg_cdir_dir = CYG_DIR_NULL;
- xiput(root);
+ iput(root);
}
if (root->i_count != 1) {
printf("Ino #1 has use count %d\n",
@@ -617,7 +619,7 @@
return EBUSY;
}
iput(root); // Time to free the root inode
-
+ free(root);
//Clear root inode
//root_i = NULL;
More information about the linux-mtd-cvs
mailing list