[Bug 1545] Race condition in read call with iop->offset

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jun 4 01:27:38 UTC 2010


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





--- Comment #1 from Chris Johns <chrisj at rtems.org>  2010-06-03 20:27:37 ---
Created an attachment (id=765)
 --> (http://www.rtems.org/bugzilla/attachment.cgi?id=765)
Move iop->offset to the file systems.

This patch moves the iop->offset to the file systems. If the file system
manages locking such as DOSFS and RFS the operation is safe. For others the
race condition is still present.

This will not be solved in this PR and requires a higher level lock for the
whole operation. The move is still valid if we finally decide to have iop
locking configurable.

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