]> err.no Git - linux-2.6/commit
[SCSI] Fix module removal/device add race
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 26 Jul 2005 14:30:40 +0000 (10:30 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 10 Sep 2005 16:21:02 +0000 (11:21 -0500)
commitb70d37bf61f278f9d9adf17c52af6b2d0ae7800c
tree2b1e207cf93ac43e0787204764cf1b231fda3c93
parentf631b4be76355dc3bf49563c706a9fb938993bde
[SCSI] Fix module removal/device add race

This patch (as546) fixes an oops-causing failure to check the return code
from scsi_device_get.  The call can return an error if the LLD is being
unloaded from memory.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_scan.c