changeset 1241:9004e9173e0e

* src/fs-ecos.c: Fixed broken hard link creation.
author asl
date Tue, 23 Sep 2003 11:47:59 +0000
parents eeb14eae974b
children bc69956ed7c9
files packages/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/src/fs-ecos.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/fs/jffs2/current/ChangeLog
+++ b/packages/fs/jffs2/current/ChangeLog
@@ -1,3 +1,7 @@
+2003-09-23  Thomas Koeller  <thomas.koeller@baslerweb.com>
+
+        * src/fs-ecos.c: Fixed broken hard link creation.
+	
 2003-09-23  Andrew Lunn     <andrew.lunn@ascom.ch>
 
 	* src/fs-ecos.c: Minor optimization of previous patch.
--- a/packages/fs/jffs2/current/src/fs-ecos.c
+++ b/packages/fs/jffs2/current/src/fs-ecos.c
@@ -1019,7 +1019,7 @@ static int jffs2_ops_link(cyg_mtab_entry
 	this.len = hashname - (const char *) this.name;
 	this.hash = end_name_hash(hash);
 
-	err = jffs2_link(ds2.dir, ds1.node, &this);
+	err = jffs2_link(ds1.node, ds2.dir, &this);
 
 	if (err == 0)
 		ds1.node->i_ctime =