mirror_zfs/module/os
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
..
freebsd FreeBSD: Prevent a NULL reference in zvol_cdev_open 2020-11-05 17:02:19 -08:00
linux Linux 5.10 compat: revalidate_disk_size() added 2020-11-02 22:01:19 +00:00