HomeFreeBSD

Cleanup struct zed_conf vars in zed_conf_destroy

Description

Cleanup struct zed_conf vars in zed_conf_destroy

Reset struct zed_conf file descriptors to -1 after close(),
and pointers to NULL after free().

Signed-off-by: Chris Dunlap <cdunlap@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #2756

Details

Provenance
Chris Dunlap <cdunlap@llnl.gov>Authored on Oct 1 2014, 9:56 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Oct 6 2014, 8:18 PM
Parents
rG56697c42646f: Obtain advisory lock on ZED PID file
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG8ac9b5e6b5b5: Cleanup struct zed_conf vars in zed_conf_destroy (authored by Chris Dunlap <cdunlap@llnl.gov>).Oct 6 2014, 8:18 PM