Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349469
b: refs/heads/master
c: faa06ab
h: refs/heads/master
i:
  349467: a441a5b
v: v3
  • Loading branch information
Nicholas Bellinger committed Jan 31, 2013
1 parent 5a3fee8 commit 091db4a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 71f1e45aa9974926c3eb511ac488119ed59d7a82
refs/heads/master: faa06ab9aed22f0ad0e15bbf3f80463b5dd7cbe0
5 changes: 5 additions & 0 deletions trunk/drivers/target/target_core_fabric_configfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,11 @@ static int target_fabric_port_link(
return -EFAULT;
}

if (!(dev->dev_flags & DF_CONFIGURED)) {
pr_err("se_device not configured yet, cannot port link\n");
return -ENODEV;
}

tpg_ci = &lun_ci->ci_parent->ci_group->cg_item;
se_tpg = container_of(to_config_group(tpg_ci),
struct se_portal_group, tpg_group);
Expand Down

0 comments on commit 091db4a

Please sign in to comment.