Mercurial > ecos
changeset 954:47dcd8174e3a
* src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end.
| author | jlarmour |
|---|---|
| date | Wed, 23 Apr 2003 03:00:08 +0000 |
| parents | c27a128cb861 |
| children | 1b02e87dfe40 |
| files | packages/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/src/fs-ecos.c |
| diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/fs/jffs2/current/ChangeLog +++ b/packages/fs/jffs2/current/ChangeLog @@ -1,3 +1,7 @@ +2003-04-23 Bob Koninckx <bob.koninckx@mech.kuleuven.ac.be> + + * src/fs-ecos.c: mtab -> cyg_mtab. Ditto cyg_mtab_end. + 2003-03-25 Thomas Koeller <thomas.koeller@baslerweb.com> * src/fs-ecos.c
--- a/packages/fs/jffs2/current/src/fs-ecos.c +++ b/packages/fs/jffs2/current/src/fs-ecos.c @@ -502,7 +502,7 @@ static int jffs2_read_super(struct super static int jffs2_mount(cyg_fstab_entry * fste, cyg_mtab_entry * mte) { - extern cyg_mtab_entry mtab[], mtab_end; + extern cyg_mtab_entry cyg_mtab[], cyg_mtab_end; struct super_block *jffs2_sb = NULL; struct jffs2_sb_info *c; cyg_mtab_entry *m; @@ -518,10 +518,10 @@ static int jffs2_mount(cyg_fstab_entry * // Iterate through the mount table to see if we're mounted // FIXME: this should be done better - perhaps if the superblock // can be stored as an inode in the icache. - for (m = &mtab[0]; m != &mtab_end; m++) { + for (m = &cyg_mtab[0]; m != &cyg_mtab_end; m++) { // stop if there are more than the configured maximum - if (m - &mtab[0] >= CYGNUM_FILEIO_MTAB_MAX) { - m = &mtab_end; + if (m - &cyg_mtab[0] >= CYGNUM_FILEIO_MTAB_MAX) { + m = &cyg_mtab_end; break; } if (m->valid && strcmp(m->fsname, "jffs2") == 0 &&
