]> git.proxmox.com Git - mirror_spl.git/commit
Fix splat-cred.c cred usage
authorChunwei Chen <david.chen@osnexus.com>
Wed, 19 Oct 2016 00:29:26 +0000 (17:29 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 20 Oct 2016 16:33:22 +0000 (09:33 -0700)
commit87063d7dc392cb710c70dba49021d6e4ec8961a9
tree0570c05336f5cb3da8fa4c1f2867a1dab3499a29
parent9ba3c01923d45a19003641ceab311150752ed491
Fix splat-cred.c cred usage

No need to crhold current_cred(), fix possible leak in splat_cred_test2

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #556
module/splat/splat-cred.c