mirror_zfs/module/os
Ryan Moeller 277884ab42 zvol_os: Don't leak doi in cdev error path
Make sure to free doi in zvol_create_minor impl when make_dev_s fails.

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 15:34:43 -07:00
..
freebsd zvol_os: Don't leak doi in cdev error path 2020-10-30 15:34:43 -07:00
linux zvol_os: Tidy up asserts 2020-10-30 15:34:15 -07:00