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


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;


to += rd->block_size;

within the for loops in the ramdisk_read and ramdisk_write routines, respectively?


Attachments (1)

ramdisk.patch (726 bytes) - added by Victor V. Vengerov on Dec 3, 2006 at 1:31:12 PM.

Download all attachments as: .zip

Change History (2)

comment:1 Changed on Apr 16, 2003 at 6:35:28 PM by Joel Sherrill

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: Patch applied to both trunk and release branch.

Changed on Dec 3, 2006 at 1:31:12 PM by Victor V. Vengerov

Attachment: ramdisk.patch added


Note: See TracTickets for help on using tickets.