[Bug 1614] New: rtems_tarfs_load does not work when pipes are enabled

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Jul 12 15:57:48 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1614

           Summary: rtems_tarfs_load does not work when pipes are enabled
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: vinutheraj at gmail.com
                CC: joel.sherrill at oarcorp.com


Created an attachment (id=879)
 --> (https://www.rtems.org/bugzilla/attachment.cgi?id=879)
patch to rtems_tarfs_load and other files, which fixes the issue.

rtems_tarfs_load does not work when pipes are enabled. This is because of the
if condition - 
if (root_loc.ops != &IMFS_ops)
  return -1;

When pipes are enabled, RTEMS uses fifoIMFS_ops instead of IMFS_ops, and this
is causing the rtems_tarfs_load to fail.

I have attached a patch which fixes the issue.

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