Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 341913
b: refs/heads/master
c: 405d55c
h: refs/heads/master
i:
  341911: 79e3808
v: v3
  • Loading branch information
Wei Yongjun authored and Michael S. Tsirkin committed Dec 6, 2012
1 parent 9cba928 commit 8b86eb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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: f9611c43ab0ddaf547b395c90fb842f55959334c
refs/heads/master: 405d55c99da7a3045275fdb1a30614293a53c6e7
2 changes: 0 additions & 2 deletions trunk/drivers/vhost/tcm_vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,12 @@ static struct tcm_vhost_cmd *vhost_scsi_allocate_cmd(
{
struct tcm_vhost_cmd *tv_cmd;
struct tcm_vhost_nexus *tv_nexus;
struct se_session *se_sess;

tv_nexus = tv_tpg->tpg_nexus;
if (!tv_nexus) {
pr_err("Unable to locate active struct tcm_vhost_nexus\n");
return ERR_PTR(-EIO);
}
se_sess = tv_nexus->tvn_se_sess;

tv_cmd = kzalloc(sizeof(struct tcm_vhost_cmd), GFP_ATOMIC);
if (!tv_cmd) {
Expand Down

0 comments on commit 8b86eb3

Please sign in to comment.