This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: JFFS2 : Node info mutex fix suggestion.
Gary Thomas wrote:
> Can you elaborate what I broke? I looked over the changes
> and it's not obvious what needs to be changed. If you send
> patches against the latest sources, I'll put them in.
>
> This is the problem when trying to reconcile two moving source
> trees - one which we've changed locally and the one that David
> has (and tests against)....
>
> Thanks.
Here is the original patch again. It should still apply, except for
the change log entry, but that should be easy enough to fix. Note that
your change also trashed the date of the previous ChangeLog entry, so
you will want to edit it anyway.
diff -ru packages-orig/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/ChangeLog
--- packages-orig/fs/jffs2/current/ChangeLog 2004-01-07 11:59:51.000000000 +0100
+++ packages/fs/jffs2/current/ChangeLog 2004-01-09 13:49:40.000000000 +0100
@@ -1,3 +1,7 @@
+2004-01-09 Thomas Koeller <thomas.koeller@baslerweb.com>
+
+ * src/fs-ecos.c: Fixed inode reference counting in jffs2_ops_link().
+
2004-01-05 Thomas Koeller <thomas.koeller@baslerweb.com>
* cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been
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 2004-01-05 15:14:04.000000000 +0100
+++ packages/fs/jffs2/current/src/fs-ecos.c 2004-01-09 13:40:17.000000000 +0100
@@ -991,7 +991,6 @@
// Allow through links to non-existing terminal objects
if (ds2.last && err == ENOENT) {
- jffs2_iput(ds2.node);
ds2.node = NULL;
err = ENOERR;
}
--------------------------------------------------
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
==============================