Mercurial > ecos
changeset 1856:15dd41bdd560
* src/fs-ecos.c: Use filesystem locking not file locking otherwise
the node cache can be corrupted by multiple operations on
different files at the same time
* Also change the email address of David in the ChangeLog
| author | asl |
|---|---|
| date | Sat, 11 Dec 2004 12:22:35 +0000 |
| parents | 6535959b8edf |
| children | 36bcb84dd874 |
| files | packages/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/src/fs-ecos.c |
| diffstat | 2 files changed, 11 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/fs/jffs2/current/ChangeLog +++ b/packages/fs/jffs2/current/ChangeLog @@ -1,3 +1,9 @@ +2004-12-10 Per Hedblom <per.hedblom@abem.se> + + * src/fs-ecos.c: Use filesystem locking not file locking otherwise + the node cache can be corrupted by multiple operations on + different files at the same time. + 2004-11-11 Andrew Lunn <andrew.lunn@ascom.ch> * Merge from public MTD. @@ -91,12 +97,12 @@ 2004-03-03 Thomas Koeller <thomas.koel * src/fs-ecos.c: Make JFFS2 honor O_TRUNC flag when opening files /w read access. -2004-02-17 David Woodhouse <dwmw2@redhat.com> +2004-02-17 David Woodhouse <dwmw2@infradead.org> * src/fs-ecos.c: Don't re-initialise the already-locked f->sem. It makes eCos unhappy. -2004-01-27 David Woodhouse <dwmw2@redhat.com> +2004-01-27 David Woodhouse <dwmw2@infradead.org> * src/write.c: Fix bug noted by Howard Gray; dirents belong to, and should dirty, @@ -112,7 +118,7 @@ 2004-01-05 Thomas Koeller <thomas.koel * cdl/jffs2.cdl: Re-added CYGPKG_FS_JFFS2_CFLAGS_REMOVE that had been removed by previous change. -2003-11-26 David Woodhouse <dwmw2@redhat.com> +2003-11-26 David Woodhouse <dwmw2@infradead.org> JFFS2 cleanup and import of newer code. Remove last vestiges of Linuxisms such as 'struct inode' from the core code, leaving eCos
--- a/packages/fs/jffs2/current/src/fs-ecos.c +++ b/packages/fs/jffs2/current/src/fs-ecos.c @@ -97,7 +97,7 @@ static void jffs2_clear_inode (struct _i #ifdef CYGOPT_FS_JFFS2_WRITE FSTAB_ENTRY(jffs2_fste, "jffs2", 0, - CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILE, + CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILESYSTEM, jffs2_mount, jffs2_umount, jffs2_open, @@ -110,7 +110,7 @@ FSTAB_ENTRY(jffs2_fste, "jffs2", 0, jffs2_chdir, jffs2_stat, jffs2_getinfo, jffs2_setinfo); #else FSTAB_ENTRY(jffs2_fste, "jffs2", 0, - CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILE, + CYG_SYNCMODE_FILE_FILESYSTEM | CYG_SYNCMODE_IO_FILESYSTEM, jffs2_mount, jffs2_umount, jffs2_open,
