diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2009-01-20 19:34:22 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@pig.fieldses.org> | 2009-01-27 17:26:59 -0500 |
commit | b914152a6fbd2cd0441bc293ae8b3f3f1a9407b6 (patch) | |
tree | 52267a4af3d34ebf190d89b279758d7726383412 /fs/nfsd/nfs4state.c | |
parent | bf935a78814cc9b96d09f612912178adc964ce9c (diff) |
nfsd: fix cred leak on every rpc
Since override_creds() took its own reference on new, we need to release
our own reference.
(Note the put_cred on the return value puts the *old* value of
current->creds, not the new passed-in value).
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
0 files changed, 0 insertions, 0 deletions