summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2017-03-15 02:11:29 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-15 02:11:29 +0000
commitf2775d8e464a2cf0e79763b00d60844028108b90 (patch)
tree4026a1266d3f68ba24b7643f2a0b270a2f66dcbf /include
parent256257f5af63b0d1b5bf6287a63ebe2120c5179b (diff)
parentca739e3fd7dc803d526ea5bb9b80c0d07fbca55f (diff)
target: Fix NULL dereference during LUN lookup + active I/O shutdown
am: ca739e3fd7 Change-Id: I8e9360ec3bd7fbe14368fd1912c7719e85be6bb9
Diffstat (limited to 'include')
-rw-r--r--include/target/target_core_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 800fe16cc36f..ed66414b91f0 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -740,6 +740,7 @@ struct se_lun {
struct config_group lun_group;
struct se_port_stat_grps port_stat_grps;
struct completion lun_ref_comp;
+ struct completion lun_shutdown_comp;
struct percpu_ref lun_ref;
struct list_head lun_dev_link;
struct hlist_node link;