Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 232697
b: refs/heads/master
c: e00b8a2
h: refs/heads/master
i:
  232695: 4ead36c
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Jan 28, 2011
1 parent 1144a22 commit 39fa082
Show file tree
Hide file tree
Showing 2 changed files with 5 additions 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: c7a360b05b5430ac1d75dc7d53c586ada60a05cb
refs/heads/master: e00b8a24041f37e56b4b8415ce4eba1cbc238065
6 changes: 4 additions & 2 deletions trunk/fs/nfs/delegation.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@

static void nfs_do_free_delegation(struct nfs_delegation *delegation)
{
if (delegation->cred)
put_rpccred(delegation->cred);
kfree(delegation);
}

Expand All @@ -37,6 +35,10 @@ static void nfs_free_delegation_callback(struct rcu_head *head)

static void nfs_free_delegation(struct nfs_delegation *delegation)
{
if (delegation->cred) {
put_rpccred(delegation->cred);
delegation->cred = NULL;
}
call_rcu(&delegation->rcu, nfs_free_delegation_callback);
}

Expand Down

0 comments on commit 39fa082

Please sign in to comment.