#385 closed defect (fixed)
pointers are not moved in ramdisk driver
Reported by: | Victor V. Vengerov | Owned by: | Jennifer Averett |
---|---|---|---|
Priority: | lowest | Milestone: | 2 |
Component: | fs | Version: | 4.5 |
Severity: | normal | Keywords: | |
Cc: | bugs@…, joel.sherrill@… | Blocked By: | |
Blocking: |
Description
The "from" and "to" locations are calculated as the start
of the block within the ram that data is to be transferred
from/to for reads and writes respectively. However, within
the loops, the "from" and "to" locations are never updated. Shouldn't they be updated as:
from += rd->block_size;
and
to += rd->block_size;
within the for loops in the ramdisk_read and ramdisk_write routines, respectively?
Release:
RTEMS-4.5
Attachments (1)
Change History (2)
comment:1 Changed on 04/16/03 at 18:35:28 by Joel Sherrill
Status: | assigned → closed |
---|
Changed on 12/03/06 at 13:31:12 by Victor V. Vengerov
Attachment: | ramdisk.patch added |
---|
ramdisk.patch
Note: See
TracTickets for help on using
tickets.
State-Changed-From-To: open->closed
State-Changed-Why: Patch applied to both trunk and release branch.