This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: eCos jffs2 garbage collection thread + fix
On Wed, Jan 19, 2005 at 09:37:15PM +0100, Andrew Lunn wrote:
> On Tue, Jan 11, 2005 at 09:23:52AM +0100, Andrew Lunn wrote:
> > > I have updated my patch. I solved the problem with a reference to the mte by
> > > saving a reference at mount time and make sure that this reference is valid
> > > after umount in case of multiple mount/umount (Not tested). It is maybe not
> > > the best solution but it seams to work.
> >
> > It should work, but its a bit messy. I don't like breaking the
> > filesystem mount point abstration like this. At minimum i would move
> > your lookup code out of the filesystem into the io package and add a
> > function something like
> >
> > struct cyg_mtab_entry * cyg_fs_root_lookup(cyg_dir *root);
> >
> > I was hoping Nick would comment about this since its his design. Maybe
> > there is a better way to do this.
>
> Here is what i intend to commit in the next few days if no one says
> otherwise.
It has now been committed.
Andrew