Cleanup removing usage of in_atomic(). Particularly, now target drivers and dev handl...
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 31 Oct 2008 10:49:25 +0000 (10:49 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 31 Oct 2008 10:49:25 +0000 (10:49 +0000)
commit4fc5eb22fafd2632b0d3c947ee6337389920bb12
tree07a396e3e5168b4503105cef401e6a7dc69176dc
parent003368a4520217529c2f9196f4fc8d61ee682acf
Cleanup removing usage of in_atomic(). Particularly, now target drivers and dev handlers need to explicitly supply preferred execution context in scst_cmd_done() and scst_tgt_cmd_done().

WARNING! This commit changes external SCST interface, so it can break compilation of your out of SCST SVN tree target driver or dev handler. To fix it, simply supply the preferred exection context to scst_cmd_done() and/or scst_tgt_cmd_done().

Thanks to Bart Van Assche <bart.vanassche@gmail.com> for pointing on it.

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@556 d57e44dd-8a1f-0410-8b47-8ef2f437770f
15 files changed:
iscsi-scst/kernel/iscsi.c
mpt/mpt_scst.c
qla2x00t/qla2x00-target/qla2x00t.c
qla_isp/linux/isp_scst.c
scst/include/scst.h
scst/src/dev_handlers/scst_disk.c
scst/src/dev_handlers/scst_modisk.c
scst/src/dev_handlers/scst_tape.c
scst/src/dev_handlers/scst_user.c
scst/src/dev_handlers/scst_vdisk.c
scst/src/scst_lib.c
scst/src/scst_priv.h
scst/src/scst_targ.c
scst_local/scst_local.c
srpt/src/ib_srpt.c