zfs/module/os
Mariusz Zaborski 957b4e9fbd 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-11 11:00:31 -08:00
..
freebsd FreeBSD: Prevent a NULL reference in zvol_cdev_open 2020-11-11 11:00:31 -08:00
linux Linux 5.10 compat: revalidate_disk_size() added 2020-11-03 09:51:31 -08:00