Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: Avoid a null pointer dereference in zfs_mount() on FreeBSD
When mounting the root filesystem, vfs_t->mnt_vnodecovered is null This will cause zfsctl_is_node() to dereference a null pointer when mounting, or updating the mount flags, on the root filesystem, both of which happen during the boot process. Reported-by: Martin Matuska <mm@FreeBSD.org> Sponsored-by: Klara, Inc. Signed-off-by: Allan Jude <allan@klarasystems.com>
- Loading branch information