HomeFreeBSD

Fix cred leak in zpl_fallocate_common

Description

Fix cred leak in zpl_fallocate_common

This is caught by kmemleak when running compress_004_pos

Reviewed-by: Tim Chase <tim@chase2k.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #5244
Closes #5330

Details

Provenance
tuxoko <tuxoko@gmail.com>Authored on Oct 24 2016, 11:41 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 24 2016, 11:41 PM
Parents
rG66392d81f5ba: Disable zpool_upgrade_002_pos test case
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG9fa4db44b767: Fix cred leak in zpl_fallocate_common (authored by tuxoko <tuxoko@gmail.com>).Oct 24 2016, 11:41 PM