mirror_zfs/module/os/freebsd
Ryan Moeller cb4d3fb737 FreeBSD: Simplify zvol_geom_open and zvol_cdev_open
We can consolidate the unlocking procedure into one place by starting
with drop_suspend set to B_FALSE and moving the open count check up.

While here, a little code cleanup. Match the out labels between
zvol_geom_open and zvol_cdev_open, and add a missing period in some
comments.

Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11175
2020-11-11 11:07:40 -08:00
..
spl FreeBSD: Skip RAW kstat sysctls by default 2020-10-30 16:03:22 -07:00
zfs FreeBSD: Simplify zvol_geom_open and zvol_cdev_open 2020-11-11 11:07:40 -08:00