Commit [a2ef79] Maximize Restore History

[PATCH] sbp2 slab corruption fix

This fixed a problem that showed up in the Fedora development tree a few
weeks before the Fedora Core 4 release, initially as slab corruption, later
as hard crashes on boot up, when slab debugging was disabled for the
release. More details on the history at

The problem is caused by sbp2's use of scsi_host->hostdata[0] to hold a
scsi_id, without explicitly requesting space for it. Since hostdata is
declared as a zero-sized array, we don't get any such space by default, so
it must be explicitly requested. The patch below implements just that.

Signed-off-by: Alexandre Oliva <>
Cc: Jody McIntyre <>
Signed-off-by: Andrew Morton <>
Signed-off-by: Linus Torvalds <>

Alexandre Oliva Alexandre Oliva 2005-06-16

Linus Torvalds Linus Torvalds 2005-06-16

changed drivers
changed drivers/ieee1394
changed drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.c Diff Switch to side-by-side view