Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361712
b: refs/heads/master
c: 0fb889b
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Nicholas Bellinger committed Mar 18, 2013
1 parent 340eb8f commit c58454a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 7ac9ad11b2a5cf77a92b58ee6b672ad2fa155eb1
refs/heads/master: 0fb889b83186e54c0cfa79516599f2267fb553fb
3 changes: 2 additions & 1 deletion trunk/drivers/target/target_core_tpg.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,8 @@ int core_tpg_register(

if (se_tpg->se_tpg_type == TRANSPORT_TPG_TYPE_NORMAL) {
if (core_tpg_setup_virtual_lun0(se_tpg) < 0) {
kfree(se_tpg);
array_free(se_tpg->tpg_lun_list,
TRANSPORT_MAX_LUNS_PER_TPG);
return -ENOMEM;
}
}
Expand Down

0 comments on commit c58454a

Please sign in to comment.