HomeFreeBSD

Fix zinject list handlers

Description

Fix zinject list handlers

The zfs_fd must be opened before calling print_all_handlers() or
the ioctl() cannot be used to the zfs control device. This brings
the zinject code back in sync with the Illumos implementation.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on May 1 2013, 4:38 PM
Parents
rGcc92e9d0c3e6: 3246 ZFS I/O deadman thread
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG937210a54b9c: Fix zinject list handlers (authored by Brian Behlendorf <behlendorf1@llnl.gov>).May 2 2013, 12:05 AM