Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292852
b: refs/heads/master
c: d062833
h: refs/heads/master
v: v3
  • Loading branch information
Nicholas Bellinger committed Mar 8, 2012
1 parent 50e7fb1 commit f0008ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c0974f89385970455a60a999ae4fc0a783cf458d
refs/heads/master: d06283341aee9e48eff1b068779d340785c635ce
6 changes: 2 additions & 4 deletions trunk/drivers/target/iscsi/iscsi_target_configfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,9 +812,6 @@ static struct se_node_acl *lio_target_make_nodeacl(
if (!se_nacl_new)
return ERR_PTR(-ENOMEM);

acl = container_of(se_nacl_new, struct iscsi_node_acl,
se_node_acl);

cmdsn_depth = ISCSI_TPG_ATTRIB(tpg)->default_cmdsn_depth;
/*
* se_nacl_new may be released by core_tpg_add_initiator_node_acl()
Expand All @@ -825,7 +822,8 @@ static struct se_node_acl *lio_target_make_nodeacl(
if (IS_ERR(se_nacl))
return se_nacl;

stats_cg = &acl->se_node_acl.acl_fabric_stat_group;
acl = container_of(se_nacl, struct iscsi_node_acl, se_node_acl);
stats_cg = &se_nacl->acl_fabric_stat_group;

stats_cg->default_groups = kzalloc(sizeof(struct config_group) * 2,
GFP_KERNEL);
Expand Down

0 comments on commit f0008ff

Please sign in to comment.