#1192 closed defect (fixed)

create_disk_entry to work with major device > 32.

Reported by: brett.swimley Owned by: Joel Sherrill
Priority: normal Milestone: 4.7
Component: fs Version: 4.7
Severity: minor Keywords:
Cc: chrisj@…, hnhawk@… Blocked By:
Blocking:

Description

The function create_disk_entry will reallocate memory to change the size of the disk_device_table if the size is greater than the current size (default 32). However, the "disktab" pointer is not updated to point to the newly reallocated memory.

I will attach a patch to correct this.

Attachments (1)

diskdevs.c.diff (627 bytes) - added by brett.swimley on Dec 13, 2006 at 3:36:24 PM.
Patch to allow major device numbers > 32 to work correctly.

Download all attachments as: .zip

Change History (5)

Changed on Dec 13, 2006 at 3:36:24 PM by brett.swimley

Attachment: diskdevs.c.diff added

Patch to allow major device numbers > 32 to work correctly.

comment:1 Changed on Aug 6, 2008 at 3:18:01 AM by Chris Johns

Cc: Chris Johns added
Resolution: fixed
Status: newclosed

comment:2 Changed on Aug 6, 2008 at 3:49:49 AM by Chris Johns

Cc: hnhawk added

comment:3 Changed on Aug 6, 2008 at 7:59:39 PM by Joel Sherrill

Component: cpukitfilesystem

comment:4 Changed on Aug 6, 2008 at 8:07:30 PM by Joel Sherrill

Patch applied to 4.7 and 4.8.

Note: See TracTickets for help on using tickets.