This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

another jffs2 inode number fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]