[SCSI] ipr: Disk remove path cleanup
authorBrian King <brking@us.ibm.com>
Wed, 29 Mar 2006 15:37:16 +0000 (09:37 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 13 Apr 2006 15:13:28 +0000 (10:13 -0500)
commit1121b794a384bc317fe36e967b82308b0e2c3852
tree7a552a1a76e9debdcc56bc6d48ae5fdebf668991
parentc06bb7f514567efa39062a781679120e51caa818
[SCSI] ipr: Disk remove path cleanup

Instead of NULLing the resource entry pointer when a disk
goes away to prevent any new commands being sent to it,
set the adapter resource handle to an invalid value so
new ops getting sent to it will fail with a selection timeout
response. This patch is needed for future SATA patches.

Signed-off-by: Brian King <brking@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h