[Bug 1757] RFS does not set iop->size on open.

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sat Mar 12 06:34:29 UTC 2011


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

--- Comment #2 from Chris Johns <chrisj at rtems.org> 2011-03-12 00:34:26 CST ---
Setting the size let the "lseek (fd, 0, SEEK_END);" work how-ever this has
exposed a new problem. The sequence of:

  open('x', RW)
  write('x', block32bytes)
  close('x')
  open('x', RW)
  seek('x', 0, END)
  write('x', block32bytes)
  close('x')

failed to have the correct length set in the inode if the block size is less
than half the file system's block size.

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