This is the mail archive of the ecos-discuss@sourceware.org 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: blib node allocation problem with FAT FS


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;

write
no reference to refcnt

close
fatfs_node_unref(disk, node);
       node->refcnt--;

Seems that there is something basically wrong here.

Steve


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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