Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322140
b: refs/heads/master
c: 08a1620
h: refs/heads/master
v: v3
  • Loading branch information
Denis Efremov authored and Nicholas Bellinger committed Aug 20, 2012
1 parent 03d69d1 commit ae3681d
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6de7145ca3db231a84b7516a6cb25878da6ebb19
refs/heads/master: 08a16208c8cb2ce1f79fea24f21dd7a8df4f12b6
4 changes: 3 additions & 1 deletion trunk/drivers/target/tcm_fc/tfc_sess.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,9 @@ static void ft_prlo(struct fc_rport_priv *rdata)
struct ft_tport *tport;

mutex_lock(&ft_lport_lock);
tport = rcu_dereference(rdata->local_port->prov[FC_TYPE_FCP]);
tport = rcu_dereference_protected(rdata->local_port->prov[FC_TYPE_FCP],
lockdep_is_held(&ft_lport_lock));

if (!tport) {
mutex_unlock(&ft_lport_lock);
return;
Expand Down

0 comments on commit ae3681d

Please sign in to comment.