[Bug 1705] RFS directory entry create and removal error

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Oct 11 04:46:49 UTC 2010


Chris Johns <chrisj at rtems.org> changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Chris Johns <chrisj at rtems.org> 2010-10-10 23:46:47 CDT ---
I have committed fixes to 4.10 and 4.11. The directory delete correctly handles
the entry delete when an offset is supplied.

Fixing this bug exposed another bug in the block map shrink. The indirect
shrink call was incorrectly resetting the buffer handle causing the buffer to
be lost. It was actually still held on a list in the file system structure so
still available and everything worked. The bug appeared when unmounting the
file system and remounting it. The cache did not return the buffer. The reset
code was dangerous and not needed as the handles looks after themselves so the
reset call was removed.

Tested on a PC with a 4.3G disk and a Coldfire with a flash disk.

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