Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367348
b: refs/heads/master
c: a6ad57e
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Nicholas Bellinger committed Apr 25, 2013
1 parent 83acd1c commit 7e7e110
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 5d358065daaed54e8cacf911ab9f9554a845bd00
refs/heads/master: a6ad57efc39ca0ed58733f13f658ac14317a90ba
9 changes: 1 addition & 8 deletions trunk/drivers/target/tcm_fc/tfc_sess.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,19 +428,12 @@ static int ft_prli(struct fc_rport_priv *rdata, u32 spp_len,
return ret;
}

static void ft_sess_rcu_free(struct rcu_head *rcu)
{
struct ft_sess *sess = container_of(rcu, struct ft_sess, rcu);

kfree(sess);
}

static void ft_sess_free(struct kref *kref)
{
struct ft_sess *sess = container_of(kref, struct ft_sess, kref);

transport_deregister_session(sess->se_sess);
call_rcu(&sess->rcu, ft_sess_rcu_free);
kfree_rcu(sess, rcu);
}

void ft_sess_put(struct ft_sess *sess)
Expand Down

0 comments on commit 7e7e110

Please sign in to comment.