[Bug 1968] New: RFS seek does not move the block referenced

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Tue Nov 22 03:10:55 UTC 2011


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

           Summary: RFS seek does not move the block referenced
           Product: RTEMS
           Version: 4.10
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: filesystem
        AssignedTo: chrisj at rtems.org
        ReportedBy: chrisj at rtems.org


A seek to file offset 0 after reading to the end of a file which has a size
larger than a block leaves the block reference pointing at the last block read.
If the seek does not reference the block currently referenced by the file
handle it needs to be released.

If the seek position is past the end of the file and the file handle has a
block attached it also needs to be released. Note, a seek past the end of a
file is allowed so the file can be extended.

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