aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <[email protected]>2009-01-21 00:34:22 +0000
committerJ. Bruce Fields <[email protected]>2009-01-27 22:26:59 +0000
commitb914152a6fbd2cd0441bc293ae8b3f3f1a9407b6 (patch)
tree52267a4af3d34ebf190d89b279758d7726383412 /fs/btrfs/async-thread.c
parentnfsd: fix null dereference on error path (diff)
downloadkernel-b914152a6fbd2cd0441bc293ae8b3f3f1a9407b6.tar.gz
kernel-b914152a6fbd2cd0441bc293ae8b3f3f1a9407b6.zip
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 <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions