[Bug 1677] Assertion at IMFS_create_node
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Wed Aug 18 11:40:26 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1677
--- Comment #6 from Joel Sherrill <joel.sherrill at oarcorp.com> 2010-08-18 06:40:25 CDT ---
Please make sure your tree is up to date. I know I test very frequently
on sparc/sis but usually catch the coverage on pc386 about once a week.
(In reply to comment #5)
> The fix was provided on 1679 and is:
>
> (rtems-cvs-20100814)
> line 67:
> if ( type == IMFS_DIRECTORY ) {
> rtems_chain_initialize_empty(&node->info.directory.Entries);
> } else if ( type == IMFS_HARD_LINK ) {
> node->info.hard_link.link_node = info->hard_link.link_node;
> } else if ( type == IMFS_SYM_LINK ) {
> node->info.sym_link.name = info->sym_link.name;
> } else if ( type == IMFS_DEVICE ) {
> node->info.device.major = info->device.major;
> node->info.device.minor = info->device.minor;
> } else if ( type == IMFS_LINEAR_FILE ) {
> node->info.linearfile.size = 0;
> node->info.linearfile.direct = 0;
> if ( type == IMFS_MEMORY_FILE ) { // bug!!!
> node->info.file.size = 0;
> node->info.file.indirect = 0;
> node->info.file.doubly_indirect = 0;
> node->info.file.triply_indirect = 0;
> }
> } else if ( type == IMFS_FIFO ) {
> node->info.fifo.pipe = NULL;
> } else {
> IMFS_assert(0);
> }
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list