This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
another jffs2 inode number fix
- From: Thomas Koeller <thomas dot koeller at baslerweb dot com>
- To: ecos-patches at sources dot redhat dot com
- Date: Fri, 19 Sep 2003 01:35:09 +0200
- Subject: another jffs2 inode number fix
- Organization: Basler AG
My last patch did not entirely solve the problem, because I missed
one place that needs the same change.
diff -ru packages-orig/fs/jffs2/current/ChangeLog
packages/fs/jffs2/current/ChangeLog
--- packages-orig/fs/jffs2/current/ChangeLog Fri Sep 19 00:08:07 2003
+++ packages/fs/jffs2/current/ChangeLog Fri Sep 19 00:39:39 2003
@@ -1,3 +1,7 @@
+2003-09-19 Thomas Koeller <thomas.koeller@baslerweb.com>
+
+ * src/fs-ecos.c: Another inode number fix.
+
2003-09-18 Thomas Koeller <thomas.koeller@baslerweb.com>
* src/fs-ecos.c: Inode number returned by stat() was bogus.
diff -ru packages-orig/fs/jffs2/current/src/fs-ecos.c
packages/fs/jffs2/current/src/fs-ecos.c
--- packages-orig/fs/jffs2/current/src/fs-ecos.c Fri Sep 19 00:08:07 2003
+++ packages/fs/jffs2/current/src/fs-ecos.c Fri Sep 19 00:37:51 2003
@@ -1460,7 +1460,7 @@
// Fill in the status
buf->st_mode = node->i_mode;
- buf->st_ino = (ino_t) node;
+ buf->st_ino = node->i_ino;
buf->st_dev = 0;
buf->st_nlink = node->i_nlink;
buf->st_uid = 0;
--
Thomas Koeller, Software Development
Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany
Tel +49 (4102) 463-162
Fax +49 (4102) 463-239
mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com