aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libzfs/os/freebsd/libzfs_ioctl_compat.c
diff options
context:
space:
mode:
authorJorgen Lundman <[email protected]>2021-07-16 03:31:00 +0900
committerGitHub <[email protected]>2021-07-15 12:31:00 -0600
commit41eba770616c36126cba3468a1781d212d3afb9d (patch)
treee0a9a145492bce5792855c4ac22d5279d4689f33 /lib/libzfs/os/freebsd/libzfs_ioctl_compat.c
parentd9f0f1582c4bd73e5beb8be447358c8a7170e553 (diff)
pass handle to do_unmount()
The same change has already been done for domount(). On macOS platform we need to have access to zhp to handle devdisks and snapshots. Also, symmetry is pleasing. In addition, the code in zpool_disable_datasets which sorts the mountpoints did not sort the related handle, which meant that the mountpoint, and the handle that it is paired with, was lost. You'd get a random handle with the mountpoint. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: John Kennedy <[email protected]> Signed-off-by: Jorgen Lundman <[email protected]> Closes #12296
Diffstat (limited to 'lib/libzfs/os/freebsd/libzfs_ioctl_compat.c')
0 files changed, 0 insertions, 0 deletions