summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChris Zankel <czankel@purestorage.com>2015-07-21 01:29:50 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2015-07-31 07:57:30 +0200
commitb6a54b8d895648d915c7e8308f3d3e6bf2505d69 (patch)
treeeeb4ba6386eec2961d5319d1fc5100186ee4fe1f /include/target
parenttarget: remove unused lun_flags field from se_lun (diff)
downloadlinux-b6a54b8d895648d915c7e8308f3d3e6bf2505d69.tar.xz
linux-b6a54b8d895648d915c7e8308f3d3e6bf2505d69.zip
target: remove initiatorname field in se_acl_lun
From: Chris Zankel <czankel@purestorage.com> The initiatorname field in se_acl_lun is only a copy of the same field in se_node_acl, so remove it and use the version in se_node_acl where needed (it's actually only used for pr_debug) Signed-off-by: Chris Zankel <czankel@purestorage.com> Signed-off-by: Spencer Baugh <spencer.baugh@purestorage.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index d57a0cbf265b..95e65bd31e05 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -593,7 +593,6 @@ struct se_ml_stat_grps {
};
struct se_lun_acl {
- char initiatorname[TRANSPORT_IQN_LEN];
u64 mapped_lun;
struct se_node_acl *se_lun_nacl;
struct se_lun *se_lun;