]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: correctly set this_id for hosts
authorAndreas Herrmann <aherrman@de.ibm.com>
Thu, 2 Mar 2006 20:28:54 +0000 (21:28 +0100)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Fri, 3 Mar 2006 04:45:40 +0000 (22:45 -0600)
commite79d772531a9b78133b3efa7e31da358376b88d8
tree447534ca73584cba39bc033bbad2728e0195b44d
parent3fd53ceee7888db1236d09c18246f50b6ab320f8
[SCSI] zfcp: correctly set this_id for hosts

It fixes a bug in zfcp which provokes a race
in scsi_scan.c. Finally this can lead to an Oops like:

kernel BUG at fs/sysfs/symlink.c:87!

Correctly set this_id for the host. Otherwise we provoke
a race between scsi_target_reap_work and concurrent
scsi_add_device.

Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_scsi.c