Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294555
b: refs/heads/master
c: 11588f4
h: refs/heads/master
i:
  294553: 08a5900
  294551: f5cc9e2
v: v3
  • Loading branch information
Bryan Schumaker authored and Trond Myklebust committed Mar 12, 2012
1 parent 0e80678 commit aca7418
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 4b7c8dd205d6df1629ccde9f6dcf6a85d34c37ff
refs/heads/master: 11588f493a2441f09ceb2088d07cc012b53cbf75
9 changes: 7 additions & 2 deletions trunk/fs/nfs/idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,14 +656,19 @@ static int nfs_idmap_legacy_upcall(struct key_construction *cons,

idmap->idmap_key_cons = cons;

return rpc_queue_upcall(idmap->idmap_pipe, msg);
ret = rpc_queue_upcall(idmap->idmap_pipe, msg);
if (ret < 0)
goto out2;

return ret;

out2:
kfree(im);
out1:
kfree(msg);
out0:
complete_request_key(cons, ret);
key_revoke(cons->key);
key_revoke(cons->authkey);
return ret;
}

Expand Down

0 comments on commit aca7418

Please sign in to comment.