FreeBSD/src 6b74887 (r353757)stand/libsa/zfs zfs.c

loader: zfs_fmtdev can crash when pool discovery did fail and we have no spa

When zfs probe did fail and no spa was created, but zfs_fmtdev() is called,
we will crash while dereferencing spa (NULL pointer dereference).

MFC after:      1 week
DeltaFile
+8-3stand/libsa/zfs/zfs.c
+8-31 files

UnifiedSplitRaw