Commit f1ae05d55de0330dcba283d2a957cc8bbe44f12b

Authored by Hannes Reinecke
Committed by Nicholas Bellinger
1 parent 125d0119d1

target_core_alua: spellcheck

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

Showing 1 changed file with 9 additions and 9 deletions Side-by-side Diff

drivers/target/target_core_alua.c
... ... @@ -330,7 +330,7 @@
330 330 spin_unlock(&dev->t10_alua.tg_pt_gps_lock);
331 331 } else {
332 332 /*
333   - * Extact the RELATIVE TARGET PORT IDENTIFIER to identify
  333 + * Extract the RELATIVE TARGET PORT IDENTIFIER to identify
334 334 * the Target Port in question for the the incoming
335 335 * SET_TARGET_PORT_GROUPS op.
336 336 */
... ... @@ -487,7 +487,7 @@
487 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 491 * spc4r17 section 5.9.2.5
492 492 */
493 493 switch (cdb[0]) {
494 494  
... ... @@ -515,9 +515,9 @@
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 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 522 sense_reason_t
523 523 target_alua_state_check(struct se_cmd *cmd)
... ... @@ -802,7 +802,7 @@
802 802 * change, a device server shall establish a unit attention
803 803 * condition for the initiator port associated with every I_T
804 804 * nexus with the additional sense code set to ASYMMETRIC
805   - * ACCESS STATE CHAGED.
  805 + * ACCESS STATE CHANGED.
806 806 *
807 807 * After an explicit target port asymmetric access state
808 808 * change, a device server shall establish a unit attention
... ... @@ -946,7 +946,7 @@
946 946 continue;
947 947 /*
948 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 950 * a logical unit within a LU group, the target port
951 951 * behavior group asymmetric access states for the same
952 952 * target port group accessible via other logical units
... ... @@ -1232,7 +1232,7 @@
1232 1232 * struct se_device is released via core_alua_free_lu_gp_mem().
1233 1233 *
1234 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 1237 spin_lock(&lu_gp_mem->lu_gp_mem_lock);
1238 1238 if (lu_gp != default_lu_gp)
... ... @@ -1465,7 +1465,7 @@
1465 1465 * been called from target_core_alua_drop_tg_pt_gp().
1466 1466 *
1467 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 1469 * can be made while we are releasing struct t10_alua_tg_pt_gp.
1470 1470 */
1471 1471 spin_lock(&dev->t10_alua.tg_pt_gps_lock);
... ... @@ -1501,7 +1501,7 @@
1501 1501 * core_alua_free_tg_pt_gp_mem().
1502 1502 *
1503 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 1505 * default_tg_pt_gp.
1506 1506 */
1507 1507 spin_lock(&tg_pt_gp_mem->tg_pt_gp_mem_lock);