[SCSI] iscsi: host locking fix
authorzhenyu.z.wang@intel.com <zhenyu.z.wang@intel.com>
Sat, 14 Jan 2006 00:05:41 +0000 (18:05 -0600)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 14 Jan 2006 16:55:16 +0000 (10:55 -0600)
commit3e97c7e6cda933e3a1b518a8100d155c532a3cfc
tree9a6682763124014c601808127c4ac7f5f50c6fb0
parentbf310b8f582bddec20c27e32ffbaf8e2c91e147c
[SCSI] iscsi: host locking fix

We should be taking the host_lock instead of the conn lock when
checking host_busy.

Signed-off-by: Alex Aizman <itn780@yahoo.com>
Signed-off-by: Dmitry Yusupov <dmitry_yus@yahoo.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/iscsi_tcp.c