diff options
author | Andy Grover <agrover@redhat.com> | 2014-04-04 16:54:13 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2014-04-11 15:30:51 -0700 |
commit | 705665da222b810fced1273169d63f31635df6f0 (patch) | |
tree | 86d175551f987c2423a3deee415362d10e8fc79e /drivers/target/tcm_fc/tcm_fc.h | |
parent | d242c1d7d39bb50d2816a2834b84c420c3e7084e (diff) | |
download | lwn-705665da222b810fced1273169d63f31635df6f0.tar.gz lwn-705665da222b810fced1273169d63f31635df6f0.zip |
target/tcm_fc: Rename structs and list members for clarity
Rename struct ft_lport_acl to ft_lport_wwn. "acl" is associated with
something different in LIO terms. Really, ft_lport_wwn is the
fabric-specific wrapper for the struct se_wwn.
Rename "lacl" local variables to "ft_wwn" as well.
Rename list_heads used as list members to make it clear they're nodes, not
heads.
Rename lport_node to ft_wwn_node.
Rename ft_lport_list to ft_wwn_list
Signed-off-by: Andy Grover <agrover@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/tcm_fc/tcm_fc.h')
-rw-r--r-- | drivers/target/tcm_fc/tcm_fc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/target/tcm_fc/tcm_fc.h b/drivers/target/tcm_fc/tcm_fc.h index 7290f8fb53f0..a0bcfd3e7e7d 100644 --- a/drivers/target/tcm_fc/tcm_fc.h +++ b/drivers/target/tcm_fc/tcm_fc.h @@ -94,19 +94,19 @@ struct ft_lun { */ struct ft_tpg { u32 index; - struct ft_lport_acl *lport_acl; + struct ft_lport_wwn *lport_wwn; struct ft_tport *tport; /* active tport or NULL */ struct list_head lun_list; /* head of LUNs */ struct se_portal_group se_tpg; struct workqueue_struct *workqueue; }; -struct ft_lport_acl { +struct ft_lport_wwn { u64 wwpn; char name[FT_NAMELEN]; + struct list_head ft_wwn_node; struct ft_tpg *tpg; - struct list_head list; - struct se_wwn fc_lport_wwn; + struct se_wwn se_wwn; }; /* |