]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340049:
authorToomas Soome <tsoome@FreeBSD.org>
Thu, 29 Nov 2018 13:55:57 +0000 (13:55 +0000)
committerToomas Soome <tsoome@FreeBSD.org>
Thu, 29 Nov 2018 13:55:57 +0000 (13:55 +0000)
commit9f01b1415ab06bc202f35c4d9478e763a899b1f3
treeb50fa23573110684c2a58e8dfe9fde31e8f42943
parentd8801c3a0297062f2aaf90d674be84f44686b488
MFC r340049:
loader: biosdisk should check if the media is present

The bd_print/bd_open/bd_strategy need to make sure the device does have
media, before getting into performing IO operations. Some systems can
hung if the device without a media is accessed.

Reported by: yuripv
stand/i386/libi386/biosdisk.c