mirror_zfs/module/os
Ryan Moeller ef525e0841 zvol_os: Keep better track of open count in close
zvol_geom_close gets a count of the number of close operations to do.

Make sure we're always using this count to check if this will be the
last close operation performed on the zvol.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Matt Macy <mmacy@FreeBSD.org>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11117
2020-10-30 16:06:30 -07:00
..
freebsd zvol_os: Keep better track of open count in close 2020-10-30 16:06:30 -07:00
linux zvol_os: Tidy up asserts 2020-10-30 16:06:24 -07:00