Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During unmount `zfsvfs` is destroyed and the pointer is zeroed in the VCB. There is however still a copy of the pointer in the DCB. Windows can still call into `zfs_AcquireForLazyWrite` through `CcMgr` after unmount and this would use the already freed `zfsvfs` pointer. To fix this we set the pointer to zero in the DCB and add a zero check in `zfs_AcquireForLazyWrite`. Signed-off-by: Axel Gembe <[email protected]>
- Loading branch information