mirror_zfs/module/os/freebsd
Mariusz Zaborski ae37ceadaa
FreeBSD: Prevent a NULL reference in zvol_cdev_open
Check if the ZVOL has been written before calling zil_async_to_sync.
The ZIL will be opened on the first write, not earlier.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Mariusz Zaborski <oshogbo@vexillium.org>
Closes #11152
2020-11-05 17:02:19 -08:00
..
spl FreeBSD: Skip RAW kstat sysctls by default 2020-10-26 14:34:28 -07:00
zfs FreeBSD: Prevent a NULL reference in zvol_cdev_open 2020-11-05 17:02:19 -08:00