mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
scst: Use tabs instead of spaces for indentation
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -137,7 +137,7 @@ struct scst_event_tm_fn_received_payload {
|
||||
|
||||
#define SCST_EVENT_STPG_USER_INVOKE 5
|
||||
struct scst_event_stpg_descr {
|
||||
uint16_t group_id;
|
||||
uint16_t group_id;
|
||||
/*
|
||||
* Better to keep below fields as small as possible to fit
|
||||
* in single page as many descriptors as possible.
|
||||
|
||||
@@ -967,9 +967,9 @@ static void __scst_tg_set_state(struct scst_target_group *tg,
|
||||
list_for_each_entry(tg_tgt, &tg->tgt_list, entry) {
|
||||
if (tg_tgt->tgt == tgt) {
|
||||
bool gen_ua = (state != SCST_TG_STATE_TRANSITIONING);
|
||||
if ((tg->dg->stpg_rel_tgt_id == tgt_dev->sess->tgt->rel_tgt_id) &&
|
||||
tid_equal(tg->dg->stpg_transport_id, tgt_dev->sess->transport_id))
|
||||
gen_ua = false;
|
||||
if ((tg->dg->stpg_rel_tgt_id == tgt_dev->sess->tgt->rel_tgt_id) &&
|
||||
tid_equal(tg->dg->stpg_transport_id, tgt_dev->sess->transport_id))
|
||||
gen_ua = false;
|
||||
scst_tg_change_tgt_dev_state(tgt_dev,
|
||||
state, gen_ua);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user