Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195558
b: refs/heads/master
c: f4568b8
h: refs/heads/master
v: v3
  • Loading branch information
Joe Eykholt authored and James Bottomley committed Apr 11, 2010
1 parent d162029 commit 4ceef78
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 7d65b0df6c5951271cd368170bca8601aa2e65c7
refs/heads/master: f4568b8b9766d083c0e61346173bb22274128208
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/libfc/fc_npiv.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ struct fc_lport *fc_vport_id_lookup(struct fc_lport *n_port, u32 port_id)
if (fc_host_port_id(n_port->host) == port_id)
return n_port;

if (port_id == FC_FID_FLOGI)
return n_port; /* for point-to-point */

mutex_lock(&n_port->lp_mutex);
list_for_each_entry(vn_port, &n_port->vports, list) {
if (fc_host_port_id(vn_port->host) == port_id) {
Expand Down

0 comments on commit 4ceef78

Please sign in to comment.