Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1ae05d5 authored by Hannes Reinecke's avatar Hannes Reinecke Committed by Nicholas Bellinger
Browse files

target_core_alua: spellcheck

parent 125d0119
Loading
Loading
Loading
Loading
+9 −9
Original line number Original line Diff line number Diff line
@@ -330,7 +330,7 @@ target_emulate_set_target_port_groups(struct se_cmd *cmd)
			spin_unlock(&dev->t10_alua.tg_pt_gps_lock);
			spin_unlock(&dev->t10_alua.tg_pt_gps_lock);
		} else {
		} else {
			/*
			/*
			 * Extact the RELATIVE TARGET PORT IDENTIFIER to identify
			 * Extract the RELATIVE TARGET PORT IDENTIFIER to identify
			 * the Target Port in question for the the incoming
			 * the Target Port in question for the the incoming
			 * SET_TARGET_PORT_GROUPS op.
			 * SET_TARGET_PORT_GROUPS op.
			 */
			 */
@@ -487,7 +487,7 @@ static inline int core_alua_state_transition(
	u8 *alua_ascq)
	u8 *alua_ascq)
{
{
	/*
	/*
	 * Allowed CDBs for ALUA_ACCESS_STATE_TRANSITIO as defined by
	 * Allowed CDBs for ALUA_ACCESS_STATE_TRANSITION as defined by
	 * spc4r17 section 5.9.2.5
	 * spc4r17 section 5.9.2.5
	 */
	 */
	switch (cdb[0]) {
	switch (cdb[0]) {
@@ -515,9 +515,9 @@ static inline int core_alua_state_transition(
}
}


/*
/*
 * return 1: Is used to signal LUN not accecsable, and check condition/not ready
 * return 1: Is used to signal LUN not accessible, and check condition/not ready
 * return 0: Used to signal success
 * return 0: Used to signal success
 * reutrn -1: Used to signal failure, and invalid cdb field
 * return -1: Used to signal failure, and invalid cdb field
 */
 */
sense_reason_t
sense_reason_t
target_alua_state_check(struct se_cmd *cmd)
target_alua_state_check(struct se_cmd *cmd)
@@ -802,7 +802,7 @@ static int core_alua_do_transition_tg_pt(
		 * change, a device server shall establish a unit attention
		 * change, a device server shall establish a unit attention
		 * condition for the initiator port associated with every I_T
		 * condition for the initiator port associated with every I_T
		 * nexus with the additional sense code set to ASYMMETRIC
		 * nexus with the additional sense code set to ASYMMETRIC
		 * ACCESS STATE CHAGED.
		 * ACCESS STATE CHANGED.
		 *
		 *
		 * After an explicit target port asymmetric access state
		 * After an explicit target port asymmetric access state
		 * change, a device server shall establish a unit attention
		 * change, a device server shall establish a unit attention
@@ -946,7 +946,7 @@ int core_alua_do_port_transition(
				continue;
				continue;
			/*
			/*
			 * If the target behavior port asymmetric access state
			 * If the target behavior port asymmetric access state
			 * is changed for any target port group accessiable via
			 * is changed for any target port group accessible via
			 * a logical unit within a LU group, the target port
			 * a logical unit within a LU group, the target port
			 * behavior group asymmetric access states for the same
			 * behavior group asymmetric access states for the same
			 * target port group accessible via other logical units
			 * 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)
		 * struct se_device is released via core_alua_free_lu_gp_mem().
		 * struct se_device is released via core_alua_free_lu_gp_mem().
		 *
		 *
		 * If the passed lu_gp does NOT match the default_lu_gp, assume
		 * If the passed lu_gp does NOT match the default_lu_gp, assume
		 * we want to re-assocate a given lu_gp_mem with default_lu_gp.
		 * we want to re-associate a given lu_gp_mem with default_lu_gp.
		 */
		 */
		spin_lock(&lu_gp_mem->lu_gp_mem_lock);
		spin_lock(&lu_gp_mem->lu_gp_mem_lock);
		if (lu_gp != default_lu_gp)
		if (lu_gp != default_lu_gp)
@@ -1465,7 +1465,7 @@ void core_alua_free_tg_pt_gp(
	 * been called from target_core_alua_drop_tg_pt_gp().
	 * been called from target_core_alua_drop_tg_pt_gp().
	 *
	 *
	 * Here we remove *tg_pt_gp from the global list so that
	 * Here we remove *tg_pt_gp from the global list so that
	 * no assications *OR* explicit ALUA via SET_TARGET_PORT_GROUPS
	 * no associations *OR* explicit ALUA via SET_TARGET_PORT_GROUPS
	 * can be made while we are releasing struct t10_alua_tg_pt_gp.
	 * can be made while we are releasing struct t10_alua_tg_pt_gp.
	 */
	 */
	spin_lock(&dev->t10_alua.tg_pt_gps_lock);
	spin_lock(&dev->t10_alua.tg_pt_gps_lock);
@@ -1501,7 +1501,7 @@ void core_alua_free_tg_pt_gp(
		 * core_alua_free_tg_pt_gp_mem().
		 * core_alua_free_tg_pt_gp_mem().
		 *
		 *
		 * If the passed tg_pt_gp does NOT match the default_tg_pt_gp,
		 * If the passed tg_pt_gp does NOT match the default_tg_pt_gp,
		 * assume we want to re-assocate a given tg_pt_gp_mem with
		 * assume we want to re-associate a given tg_pt_gp_mem with
		 * default_tg_pt_gp.
		 * default_tg_pt_gp.
		 */
		 */
		spin_lock(&tg_pt_gp_mem->tg_pt_gp_mem_lock);
		spin_lock(&tg_pt_gp_mem->tg_pt_gp_mem_lock);