This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: blib node allocation problem with FAT FS
On Wed, Feb 27, 2008 at 01:45:23PM -0500, Steve West wrote:
>> I would suggest making this a CDL option so it can be configured for
>> your specific needs.
>
> Yes that would be good.
>
> As to the other Blib issue. I see the ASSERT for refcnt = 0. But
> following the code this is what I get
>
> open
> node = fatfs_node_alloc(disk, &new_file_dentry);
> node->refcnt = 0;
fatfs.c: 647 should of incremented the reference count. So it should
be 1. What was the value before line 647?
> Seems that there is something basically wrong here.
Yep...
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss