]> git.proxmox.com Git - mirror_zfs.git/commit
Don't open zfs control device exclusively
authorMatthew Macy <mmacy@freebsd.org>
Fri, 28 Feb 2020 22:54:14 +0000 (14:54 -0800)
committerGitHub <noreply@github.com>
Fri, 28 Feb 2020 22:54:14 +0000 (14:54 -0800)
commitd32eff3a27d2a57fa280b7e461883fed2a4cec16
tree23a4b1be2b5cc07d0826aa6b10bbd17bc57b78cc
parentcf118ae8dc149c5c9fd9b70e89790c38824b85de
Don't open zfs control device exclusively

With the FreeBSD platform changes that were made for #10073
it is no longer necessary on FreeBSD to open the control device
exclusively to get onexit callbacks invoked.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #10076
lib/libzfs/libzfs_diff.c
lib/libzfs/libzfs_sendrecv.c