This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eCos jffs2 garbage collection thread + fix


> 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.

        Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]