]> Pileus Git - ~andy/linux/blobdiff - include/target/target_core_base.h
target: Use array_zalloc for device_list
[~andy/linux] / include / target / target_core_base.h
index fc918a7b7d70299f6745997358d8a760f28bbfcd..aaccc5f5fc9f963d8fdee2a0c17b436948541f71 100644 (file)
@@ -629,7 +629,7 @@ struct se_node_acl {
        spinlock_t              stats_lock;
        /* Used for PR SPEC_I_PT=1 and REGISTER_AND_MOVE */
        atomic_t                acl_pr_ref_count;
-       struct se_dev_entry     *device_list;
+       struct se_dev_entry     **device_list;
        struct se_session       *nacl_sess;
        struct se_portal_group *se_tpg;
        spinlock_t              device_list_lock;