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
..
2020-09-02 09:42:12 -07:00
2020-11-02 11:51:12 -08:00
2020-10-27 09:43:36 -07:00
2020-09-02 09:42:12 -07:00
2020-06-10 09:24:15 -07:00
2020-10-02 17:44:10 -07:00
2020-06-10 09:24:15 -07:00
2020-08-20 10:30:06 -07:00
2020-10-08 20:07:10 -07:00