[PATCH] fix scsi_remove_device locking
The following patch fixes an oops I was seeing on a machine with misconfigured scsi cables, but could feasibly happen in other paths. The oops was occurring because scsi_remove_device was getting called for a device before scsi_add_device had fully completed. This resulted in sysfs_remove_link being called with a NULL dentry. Signed-off-by:Brian King <brking@us.ibm.com> Signed-off-by:
James Bottomley <James.Bottomley@SteelEye.com>
Showing
Please register or sign in to comment