target: Convert transport_deregister_session_configfs nacl_sess_lock to save irq...
authorRoland Dreier <roland@purestorage.com>
Wed, 22 Jun 2011 08:02:21 +0000 (01:02 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 23 Jun 2011 23:59:45 +0000 (23:59 +0000)
commit233888644d80cc44330062e5e978c9e3a14c9cb9
tree88b2b59e76a5f73d27ebda4a0e4d5a3bac49a741
parent7fd29aa920273b70be50c14c4b7e2213fb6623ce
target: Convert transport_deregister_session_configfs nacl_sess_lock to save irq state

This patch converts transport_deregister_session_configfs() to save/restore
spinlock IRQ state for struct se_node_acl->nacl_sess_lock access as tcm_qla2xxx
logic expects to call transport_deregister_session_configfs() code with
irq save already held for struct qla_hw_data.

Reported-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c