]> err.no Git - linux-2.6/commit
[PATCH] Fix Fibre Channel boot oops
authorJames Bottomley <James.Bottomley@SteelEye.com>
Mon, 26 Dec 2005 15:58:49 +0000 (09:58 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Dec 2005 18:17:43 +0000 (10:17 -0800)
commit04333393b930370db0cc29fdf0dbbd08ecd43337
treef50d8ab5315919c34ef2c97d99f92e3920b4c4d4
parentf89f5948fc10bb973cd452d2e334da207828e228
[PATCH] Fix Fibre Channel boot oops

The oops is characteristic of the underlying device being removed from
visibility before the class device, and sure enough we do device_del()
before transport_unregister() in the scsi_target_reap() routines.  I've
no idea why this is suddenly showing up, since the code has been in
there since that function was first invented.  However, I've confirmed
this fixes Andrew Vasquez's boot oops.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/scsi/scsi_scan.c