]> git.karo-electronics.de Git - karo-tx-linux.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)
commit35dc2585fa32a2b300307ffa9f17122b13ccef97
tree447534ca73584cba39bc033bbad2728e0195b44d
parent98acfc7e8e2606fadae6d2bf99fa040be917ce8c
[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