diff options
author | Hannes Reinecke <hare@suse.de> | 2013-11-19 03:07:47 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-11-20 14:24:45 -0500 |
commit | f1ae05d55de0330dcba283d2a957cc8bbe44f12b (patch) | |
tree | 9671a0fe7f7e0f3adea3186ac6109bfda7fab8ce /drivers/target | |
parent | 125d0119d158180eb38580adfbc1a83d56120709 (diff) |
target_core_alua: spellcheck
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_alua.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/target/target_core_alua.c b/drivers/target/target_core_alua.c index 8297d3796d8c..199435398654 100644 --- a/drivers/target/target_core_alua.c +++ b/drivers/target/target_core_alua.c | |||
@@ -330,7 +330,7 @@ target_emulate_set_target_port_groups(struct se_cmd *cmd) | |||
330 | spin_unlock(&dev->t10_alua.tg_pt_gps_lock); | 330 | spin_unlock(&dev->t10_alua.tg_pt_gps_lock); |
331 | } else { | 331 | } else { |
332 | /* | 332 | /* |
333 | * Extact the RELATIVE TARGET PORT IDENTIFIER to identify | 333 | * Extract the RELATIVE TARGET PORT IDENTIFIER to identify |
334 | * the Target Port in question for the the incoming | 334 | * the Target Port in question for the the incoming |
335 | * SET_TARGET_PORT_GROUPS op. | 335 | * SET_TARGET_PORT_GROUPS op. |
336 | */ | 336 | */ |
@@ -487,7 +487,7 @@ static inline int core_alua_state_transition( | |||
487 | u8 *alua_ascq) | 487 | u8 *alua_ascq) |
488 | { | 488 | { |
489 | /* | 489 | /* |
490 | * Allowed CDBs for ALUA_ACCESS_STATE_TRANSITIO as defined by | 490 | * Allowed CDBs for ALUA_ACCESS_STATE_TRANSITION as defined by |
491 | * spc4r17 section 5.9.2.5 | 491 | * spc4r17 section 5.9.2.5 |
492 | */ | 492 | */ |
493 | switch (cdb[0]) { | 493 | switch (cdb[0]) { |
@@ -515,9 +515,9 @@ static inline int core_alua_state_transition( | |||
515 | } | 515 | } |
516 | 516 | ||
517 | /* | 517 | /* |
518 | * return 1: Is used to signal LUN not accecsable, and check condition/not ready | 518 | * return 1: Is used to signal LUN not accessible, and check condition/not ready |
519 | * return 0: Used to signal success | 519 | * return 0: Used to signal success |
520 | * reutrn -1: Used to signal failure, and invalid cdb field | 520 | * return -1: Used to signal failure, and invalid cdb field |
521 | */ | 521 | */ |
522 | sense_reason_t | 522 | sense_reason_t |
523 | target_alua_state_check(struct se_cmd *cmd) | 523 | target_alua_state_check(struct se_cmd *cmd) |
@@ -802,7 +802,7 @@ static int core_alua_do_transition_tg_pt( | |||
802 | * change, a device server shall establish a unit attention | 802 | * change, a device server shall establish a unit attention |
803 | * condition for the initiator port associated with every I_T | 803 | * condition for the initiator port associated with every I_T |
804 | * nexus with the additional sense code set to ASYMMETRIC | 804 | * nexus with the additional sense code set to ASYMMETRIC |
805 | * ACCESS STATE CHAGED. | 805 | * ACCESS STATE CHANGED. |
806 | * | 806 | * |
807 | * After an explicit target port asymmetric access state | 807 | * After an explicit target port asymmetric access state |
808 | * change, a device server shall establish a unit attention | 808 | * change, a device server shall establish a unit attention |
@@ -946,7 +946,7 @@ int core_alua_do_port_transition( | |||
946 | continue; | 946 | continue; |
947 | /* | 947 | /* |
948 | * If the target behavior port asymmetric access state | 948 | * If the target behavior port asymmetric access state |
949 | * is changed for any target port group accessiable via | 949 | * is changed for any target port group accessible via |
950 | * a logical unit within a LU group, the target port | 950 | * a logical unit within a LU group, the target port |
951 | * behavior group asymmetric access states for the same | 951 | * behavior group asymmetric access states for the same |
952 | * target port group accessible via other logical units | 952 | * target port group accessible via other logical units |
@@ -1232,7 +1232,7 @@ void core_alua_free_lu_gp(struct t10_alua_lu_gp *lu_gp) | |||
1232 | * struct se_device is released via core_alua_free_lu_gp_mem(). | 1232 | * struct se_device is released via core_alua_free_lu_gp_mem(). |
1233 | * | 1233 | * |
1234 | * If the passed lu_gp does NOT match the default_lu_gp, assume | 1234 | * If the passed lu_gp does NOT match the default_lu_gp, assume |
1235 | * we want to re-assocate a given lu_gp_mem with default_lu_gp. | 1235 | * we want to re-associate a given lu_gp_mem with default_lu_gp. |
1236 | */ | 1236 | */ |
1237 | spin_lock(&lu_gp_mem->lu_gp_mem_lock); | 1237 | spin_lock(&lu_gp_mem->lu_gp_mem_lock); |
1238 | if (lu_gp != default_lu_gp) | 1238 | if (lu_gp != default_lu_gp) |
@@ -1465,7 +1465,7 @@ void core_alua_free_tg_pt_gp( | |||
1465 | * been called from target_core_alua_drop_tg_pt_gp(). | 1465 | * been called from target_core_alua_drop_tg_pt_gp(). |
1466 | * | 1466 | * |
1467 | * Here we remove *tg_pt_gp from the global list so that | 1467 | * Here we remove *tg_pt_gp from the global list so that |
1468 | * no assications *OR* explicit ALUA via SET_TARGET_PORT_GROUPS | 1468 | * no associations *OR* explicit ALUA via SET_TARGET_PORT_GROUPS |
1469 | * can be made while we are releasing struct t10_alua_tg_pt_gp. | 1469 | * can be made while we are releasing struct t10_alua_tg_pt_gp. |
1470 | */ | 1470 | */ |
1471 | spin_lock(&dev->t10_alua.tg_pt_gps_lock); | 1471 | spin_lock(&dev->t10_alua.tg_pt_gps_lock); |
@@ -1501,7 +1501,7 @@ void core_alua_free_tg_pt_gp( | |||
1501 | * core_alua_free_tg_pt_gp_mem(). | 1501 | * core_alua_free_tg_pt_gp_mem(). |
1502 | * | 1502 | * |
1503 | * If the passed tg_pt_gp does NOT match the default_tg_pt_gp, | 1503 | * If the passed tg_pt_gp does NOT match the default_tg_pt_gp, |
1504 | * assume we want to re-assocate a given tg_pt_gp_mem with | 1504 | * assume we want to re-associate a given tg_pt_gp_mem with |
1505 | * default_tg_pt_gp. | 1505 | * default_tg_pt_gp. |
1506 | */ | 1506 | */ |
1507 | spin_lock(&tg_pt_gp_mem->tg_pt_gp_mem_lock); | 1507 | spin_lock(&tg_pt_gp_mem->tg_pt_gp_mem_lock); |